Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^4: Favourite modules April 2003

by barbie (Deacon)
on Mar 07, 2005 at 18:39 UTC ( #437284=note: print w/ replies, xml ) Need Help??

in reply to Re^3: Favourite modules April 2003
in thread Favourite modules April 2003

This only hides File::Spec underneath the covers. I expect I'd still encounter the same problems as I did before, as it will still stringify to the OS you're on. As I use Windows mostly, it doesn't integrate with Find::Find and others without some meddling.

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 :(

Barbie | Birmingham Perl Mongers user group |

Comment on Re^4: Favourite modules April 2003
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://437284]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2015-11-26 17:17 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (704 votes), past polls