Are you just trying to avoid the 'sub' keyword?
$obj->method(sub { do something } ) ;
should work, I think.
In reply to Re: Passing an anonymous block to a method.
by Aaronrp
in thread Passing an anonymous block to a method.
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |