Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Re^3: chaining method callsby perrin (Chancellor) |
on Jun 12, 2003 at 20:24 UTC ( [id://265484]=note: print w/replies, xml ) | Need Help?? |
The trouble is, that sort of construct already has a meaning and this isn't it. Chaining methods on different objects is common. Like this, for example: That kind of thing is common on most OO languages, and it's what I expect when I see chained method calls. This "return yourself" business foils my expectations.
In Section
Meditations
|
|