We don't bite newbies here... much | |
PerlMonks |
Re: Passing an anonymous block to a method.by Aaronrp (Scribe) |
on Mar 10, 2011 at 15:48 UTC ( [id://892448]=note: print w/replies, xml ) | Need Help?? |
Are you just trying to avoid the 'sub' keyword? $obj->method(sub { do something } ) ; should work, I think.
--
Am I the only one who still cares about RT #67694?
In Section
Seekers of Perl Wisdom
|
|