in reply to Re^2: make subroutine that takes expression as implicit block as first arg
in thread make subroutine that takes expression as implicit block as first arg
I added a use case, as this sort of structure is a bit sensitive - perl apparently interprets the OP proposed use case as an anonymous hash because parentheses are present.
When I was going through a clever phase, I played a bit with prototypes, and decided they are generally more trouble than they are worth. IMHO, of course.
In Section
Seekers of Perl Wisdom