skazat has asked for the wisdom of the Perl Monks concerning the following question:
Hello All,
I'm having some problem with the File::Spec module's rel2abs() method when working in a CGI environment, basically, when a call is made like this:
#!/usr/bin/perl use CGI::Carp "fatalsToBrowser"; use File::Spec; use CGI qw(:standard); print header(); print File::Spec->rel2abs(__FILE__);
via webbrowser - it'll just hang forever.
Via the command line, it'll come back with the correct answer right away.
Here's the ENV:
bash-2.05b$ perl -v This is perl, v5.8.2 built for i386-freebsd
and,
bash-2.05b$ uname -a FreeBSD web2.host.ie 4.9-STABLE FreeBSD 4.9-STABLE #0: Fri Feb 27 10:1 +1:56 GMT 2004 root@web2.host.ie:/usr/src/sys/compile/WEB i386
Is there something I'm missing that may lead me to more clues?
-justin simoni
skazat me
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: File::Spec->rel2abs hanging?
by Corion (Patriarch) on Jan 10, 2005 at 08:25 UTC | |
|
Re: File::Spec->rel2abs hanging?
by sasikumar (Monk) on Jan 10, 2005 at 08:38 UTC |