in reply to
Re: How do I write subs that take bare blocks as args?
in thread How do I write subs that take bare blocks as args?
Among those two calls of &$test they are almost equivalent, and first one will trap any errors, so you can later check $@ variable to see if subroutine died. Like "try" in C++.
OTOH my personal preference is to call anonymous sub as
Courage, the Cowardly Dog.
PS. Something fishy is going on there, or my name is Vadim Konovalov. And it's not.