in reply to Script running online?
PotPieMan's solution is close to what I came up with. I tried:
Run from the command line it printed:print getpwuid($<);
sutch
which is my username. Run within a CGI script it printed:
apache
which is the user that HTTPD runs under on my machine.
|
---|
In Section
Seekers of Perl Wisdom