Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Platform independant directory separator

by QwertyD (Pilgrim)
on Mar 02, 2004 at 01:10 UTC ( #333135=note: print w/replies, xml ) Need Help??

in reply to Platform independant directory separator

While the suggestions of File::Spec are spot on, the module is not without its problems. Its functionality is fine. Its interface, on the other hand, (which somehow tries to be OO but isn't really) gives me a headache whenever I try to figure out how to use it.

I reccomend Path::Class. It provides a much nicer object oriented interface that wraps the File::Spec functions underneath. It makes infinitely more sense, and is much more readable.

Once it's Turing complete, everything else is just syntactic sugar.
  • Comment on Re: Platform independant directory separator

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2020-05-29 21:12 GMT
Find Nodes?
    Voting Booth?
    If programming languages were movie genres, Perl would be:

    Results (171 votes). Check out past polls.