Replace positional parameters in constructors

Bug #136644 reported by Michael Zedeler
2
Affects Status Importance Assigned to Milestone
Data Stream Components
Confirmed
High
Michael Zedeler

Bug Description

Constructors should not use positional parameters and in stead use hash a hash glob to eat up all optional parameters.

Example:

$transformer = new DS::Some::Transformer( $in_type, $out_type, undef, $out );

with mandatory parameter $in_type, optional parameters $out_type, $in (undef in the example above) and $out becomes

$transformer = new DS::Some::Transformer( $in_type, out_type =>$out_type, out = $out );

Changed in dsc:
assignee: nobody → michael-zedeler
importance: Undecided → High
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.