develooper Front page | perl.perl5.porters | Postings from December 2001

More File::Spec questions

Thread Next
From:
Dave Rolsky
Date:
December 24, 2001 08:55
Subject:
More File::Spec questions
Message ID:
Pine.LNX.4.43.0112241047580.21723-100000@urth.org
Why does File::Spec::Win32 simply inherit catdir from the Unix module?
The catdir sub in File::Spec::Unix could potentially append forward
slashses (/) to parts of the path, which aren't quite right for Win32.
This is really strange.

Even weirder is that ExtUtils::MM_NW5 contains a catdir that appends
backaslashes (\) as I'd expect under Win32.  Maybe that method actually
should be part of File::Spec::Win32?


-dave


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About