Replace positional parameters in constructors
Bug #136644 reported by
Michael Zedeler
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:
with mandatory parameter $in_type, optional parameters $out_type, $in (undef in the example above) and $out becomes
$transformer = new DS::Some:
Changed in dsc: | |
assignee: | nobody → michael-zedeler |
importance: | Undecided → High |
status: | New → Confirmed |
To post a comment you must log in.