in reply to Perl script works differently from Apache then CMD line
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.
|
|---|