Hi,
Yes you are right. I'm using that file to read the username and password which unfortunately I cannot provide here. Also there's no $text variable in my script nor am I doing any substitution. Even if I embed the username and password in the script I still get the error.
What baffles me is the script works fine if I run it from the directory where its in. No errors whatsoever. Just when I run it with the path, the error comes up.
In reply to Re^2: Perl script runs fine if exec'd from the directory, but gives error if run outside the directory.
by pritesh_ugrankar
in thread Perl script runs fine if exec'd from the directory, but gives error if run outside the directory.
by pritesh_ugrankar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |