in reply to Re^9: Mutator chaining considered harmful
in thread Mutator chaining considered harmful
He said "the variable name and usage".
His point is that
can be either$foo->bar($x)->baz($y)
or$foo->bar($x); $foo->baz($y); # same object
which is the ambiguity he's talking about.my $bar = $foo->bar($x); $bar->baz($y); # different object
ihb
See perltoc if you don't know which perldoc to read!
Read argumentation in its context!
|
|---|