Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Re: multiple method calls against the same object (f.ex GUI programming)by dada (Chaplain) |
on Oct 28, 2002 at 15:25 UTC ( [id://208522]=note: print w/replies, xml ) | Need Help?? |
...but this requires that each of these configurator calls returns $self as the last step, which is frequently the case...
just out of curiosity, but with this design in mind how would you return a value from a method call? even a simple boolean for success/failure. for example, how could you do something like: if you're always only returning $self?
cheers, King of Laziness, Wizard of Impatience, Lord of Hubris
In Section
Cool Uses for Perl
|
|