I don't have a Windows box to test this on, but based on the docs for CGI::Session::File, I believe cees was right in that /tmp doesn't exist on a Windows machine; {Directory => '/path'} is looking for a filesystem directory, not a subdirectory on your webserver (as you described).
Have you tried changing it to {Directory => 'C:\temp'} or {Directory => 'c:\apache\cgi-bin\tmp'} instead? | [reply] [d/l] [select] |
use Cwd;
use Config;
chdir $Config{archlib};
print cwd,$/;
chdir 'Pod';
print cwd,$/;
chdir '..';
print cwd,$/;
chdir '/Pod' or warn "eek $!";
print cwd,$/;
chdir '/';
print cwd,$/;
__END__
C:/Perl/lib
C:/Perl/lib/Pod
C:/Perl/lib
eek No such file or directory at - line 13.
C:/Perl/lib
C:/
Absolute paths begin with a path separator (or drivename, depending on os, use File::Spec if you like portability -- see `perldoc perlport'),
relative paths begin with a directory name (like ./foo)
MJD says you
can't just make shit up and expect the computer to know what you mean, retardo!
I run a Win32 PPM
repository for perl 5.6x+5.8x. I take requests.
** The Third rule of perl club is a statement of fact: pod is sexy.
|
| [reply] [d/l] |