in reply to Re: Passing an anonymous block to a method.in thread Passing an anonymous block to a method.
Unfortunately (but very usefully), that is being called as a subroutine, not a method. And method syntax doesn't respect prototypes :(