in reply to Invoking Perl script from an email
Also if your script uses any modules it is a good idea to make sure that the necessary environment variables are set first (try running your script after"| /usr/bin/perl /path/to/my/file.pl"
Of course if your shell is not csh or tcsh then translate this to your own version)unsetenv PERLLIB unsetenv PERL5LIB
|
---|