in reply to Re: Re: Slightly OT: Perl and CGI - reading a file
in thread Slightly OT: Perl and CGI - reading a file
Upload this script and run via CGI:
#!/usr/bin/perl use Cwd; print "Content-Type: text/html\n\n"; print "<p>Perl says CWD is: ", cwd(); print "<p>System PWD says: ", `pwd`;
cheers
tachyon
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Slightly OT: Perl and CGI - reading a file
by C_T (Scribe) on Mar 31, 2004 at 16:45 UTC | |
by tachyon (Chancellor) on Mar 31, 2004 at 23:37 UTC |