Or something similar. Then just dereference the reference and run the sub without arguments.return '&foo' unless shift;
In reply to Re: Finding the name of the target of a coderef
by kwaping
in thread Finding the name of the target of a coderef
by Forsaken
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |