I think __PACKAGE__ is what you want.
$ perl -e'print __PACKAGE__,$/' main $
After Compline,
Zaxo
In reply to Re: Detection of main script / libraries
by Zaxo
in thread Detection of main script / libraries
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |