You're clobbering the rest of $ENV{'PATH'}, in particular "/usr/bin:/bin". Use $ENV{'PATH'} .= ':/home/mysite';.
In reply to Re: How do I Set the Correct Path for system calls?
by Zaxo
in thread How do I Set the Correct Path for system calls?
by filmo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |