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?? |
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.
In Section
Seekers of Perl Wisdom
|
|