At 13:15 -0500 2002.04.17, Alex Harper wrote:
>use Config;
>
>my $pathsep = ":";
>if ($Config{osname} =~ /darwin/i) {$pathsep = "/"; }
(WARNING: There is a $Config{path_sep} which is the separator for items in
$ENV{PATH} and is not the same thing as what we are talking about here.)
You should only rarely need to care what the path separator is. File::Spec
can take care of almost any issue you have without resorting to
manipulation of the actual path separator character(s).
>We wrote routines to handle these cases ourselves before we discovered
>File::Spec, which does most of the dirty work for you.
Praise be File::Spec and its authors! :)
--
Chris Nandor [EMAIL PROTECTED] http://pudge.net/
Open Source Development Network [EMAIL PROTECTED] http://osdn.com/