Good Morning,
What is the best way to determine if a Perl script is being run from the command line, or called from another script? I have a suite of scripts in which the program flow will be different depending on how the script was invoked.
I was unable to find a topic discussing this but if I missed, it a pointer would be greatly appreciated.
Thanks for your help
george
In reply to I need to determine how a Perl script was invoked by geo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |