in reply to Re^3: Favourite modules April 2003
in thread Favourite modules April 2003
I have most problems with code written by others who aren't aware of the problems. Whether they use File::Spec or Path::Class, I don't see any difference between the return values being Windows style and then breaking when used directly in Find::Find or File::Basename. For them to work correctly you'll need to have:
all over the place, which kind of defeats the object of using Path::Class in the first place :($file->as_foreign('Unix')
--
Barbie | Birmingham Perl Mongers user group | http://birmingham.pm.org/
|
---|