Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: filesystem path concatenation

by sundialsvc4 (Abbot)
on Sep 28, 2015 at 20:14 UTC ( #1143288=note: print w/replies, xml ) Need Help??


in reply to Re^2: filesystem path concatenation
in thread filesystem path concatenation

File::Spec is definitely The Right Way™ to do this, because it is both purposeful and portable.   You really don’t want to have to be mucking-around with slashes, do you?   Worrying whether they ought to be forward or backward on this system or that?   Naww-w-w-ww, not if someone else has already done it for you!   And, since it is in the Core, you don’t have to install it:   it is already there.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2019-12-13 11:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?