Wouldn't it be a bit simpler to pass a caller-id parameter into the script?
perl -s yourscript -C=cgi ..other params...
perl -s yourscript -C=mta ..other params...
perl -s yourscript -C=cli ..other params...
In reply to Re: Re: Re: Re: How was my script ran?
by Anonymous Monk
in thread How was my script ran?
by criswell
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |