| [reply] |
IIRC
$CGI::SL represents the path separator for the current OS
I think you can also have $CGI::OS to identify the OS
| [reply] |
$CGI::SL is the value of the 'slash' (/ on unix, \\ on DOS, etcetera)...it is used to only find the last part of a file/path combination (the original filename)
But I've tried if $localfilename gets a value at all. It does. If I print $localfilename after the assign statement, it perfectly represents what I want.
But right at the moment 'open' is called, it loses it's value. And only when I use strict.
Jouke Visser, Perl 'Adept'
| [reply] |