in reply to Re: Passing an anonymous block to a method.
in thread Passing an anonymous block to a method.
Are you just trying to avoid the 'sub' keyword?
Effectively yes.
For the same reasons as 99% of map and grep uses are coded as
... = map{ ... } ...
rather than
... = map( sub{ ... }, ... );
|
|---|