in reply to Do programs called with system() see the current %ENV?

The typical UNIX daemon, when running, do a chdir to "/". So when Perl sees "stats.cgi", it sees "/stats.cgi". To take care of this, try putting a path in front filename.

As far as dealing with your sysadmin, cut him out of the loop by running your log analyzer off of your server. :-)

  • Comment on Re: Do programs called with system() see the current %ENV?