Hi
I have a simple script that runs fine from the command line, but gives me an
error when I run it using Apache 2.0:
#!perl -w
use CGI::Carp qw(fatalsToBrowser);
use File::Find;
# get a network directory
my $directories = qw(//server/Web/database/EDV);
chdir("$directories") || die "cannot open current directory : $!\n";
If I use a local directory like in:
my $directories = qw(C:/);
the script runs fine under Apache and from the command line.
What am I doing wrong?
Thanks for any help.
Renger
PS I use Perl 5.8, Apache 2 and Windows 2000.s
_________________________________________________
ECOPLAN
Forschung und Beratung in Wirtschaft und Politik
Economic Research and Policy Consultancy
Thunstrasse 22 / CH-3005 Berne (Switzerland)
Phone: +41 31 356 61 61 / Fax: +41 31 356 61 60
mailto:[EMAIL PROTECTED] / http://www.ecoplan.ch>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>