$my_name = sub{($a=(caller)[0])eq'main'?$0:$a}->();
+++++++++ In theory, theory describes reality, but in reality it doesn't.
In reply to Re: Searching for an alternative to $0
by zude
in thread Searching for an alternative to $0
by dimar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |