in reply to How do I determine the name of the calling script?

$0 is the program name according to Programming Perl. It "contains the name of the file containing the Perl script being executed."

redmist

Originally posted as a Categorized Answer.

  • Comment on Re: How do I determine the name of the calling script?