Seems to imply that you can't do that with anonymous subroutines.
subname may be a variable containing a code reference
"A variable containing a code reference" can be an anonymous subroutine. The doc bit that says "named subroutine" doesn't mean it the way you read it.
In reply to Re^2: b $var
by radiantmatrix
in thread b $var
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |