Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: How to have universal perl script for C and D drive ?

by jrtayloriv (Pilgrim)
on Feb 08, 2008 at 18:03 UTC ( #667029=note: print w/replies, xml ) Need Help??


in reply to Re: How to have universal perl script for C and D drive ?
in thread How to have universal perl script for C and D drive ?

File::Spec::Win32 also provides a splitpath() function which will split the path into $volume, $directories, $filename

So you could also grab the volume from there.
  • Comment on Re^2: How to have universal perl script for C and D drive ?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2020-12-05 18:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (65 votes). Check out past polls.

    Notices?