Where does @ARGV come from when executing from Apache? How do you feed the parameters? Maybe you can display the content of $cmd, either always, or whenever the output doesn't seem to be what you expect.
Edit: and how do you even run your script "from Apache" anyway? There doesn't seem to be anything related to HTTP in your script.
In reply to Re: Perl script works differently from Apache then CMD line
by Eily
in thread Perl script works differently from Apache then CMD line
by IT_not_Dev
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |