Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: File::Spec splitdirby mr_ron (Chaplain) |
on Oct 26, 2015 at 17:19 UTC ( [id://1146006]=note: print w/replies, xml ) | Need Help?? |
You seem to be new to PerlMonks, in which case welcome. The directory in your data has leading and trailing slashes which seem to add extra empty directories at the beginning and end from splitpath. I tested under windows BTW. Anyway something like the line below should move you along in the direction you are trying to go.
Ron
In Section
Seekers of Perl Wisdom
|
|