Re: RFC: Class::Proxy::MethodChainby Aristotle (Chancellor)
|on Feb 25, 2003 at 23:07 UTC||Need Help??|
Sometimes it's amazing how simple things can really turn out to be. At Re^5: RFC: Class::Proxy::MethodChain I said
[H]ow I long for the beauty of saying something likeThen I went on to abuse map to almost get there. Well, guess what - I can emulate the exact same thing (modulo syntax) in three lines Perl 5 that could hardly be simpler:
which lets me write
It can be that simple. Even the snippet at multiple method calls against the same object (f.ex GUI programming) is a dozen times more effort than necessary. (I added an update there pointing here.)
I really need to get a handle on my hubris..
Update: or simply
Makeshifts last the longest.