Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://667029]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (7)
As of 2024-04-24 20:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found