package Test; sub test { (caller)[1]; }; package main; print Test::test();
Originally posted as a Categorized Answer.
In reply to Re: How do I determine the name of the calling script?
by Anonymous Monk
in thread How do I determine the name of the calling script?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |