jevon has asked for the wisdom of the Perl Monks concerning the following question:
I found dirname
oops. Forget it!
Hello Monks,
Given the string "/dir1/dir2/dir3/ .. /dirLast//"
is stored in a variable $myDirectory
How do I extract the entire path up to "/dirLast"?
Put simply, I want the path to the parent directory
of $myDirectory.
Thanks
Jevon
oops. Forget it!
Hello Monks,
Given the string "/dir1/dir2/dir3/ .. /dirLast//"
is stored in a variable $myDirectory
How do I extract the entire path up to "/dirLast"?
Put simply, I want the path to the parent directory
of $myDirectory.
Thanks
Jevon
Back to
Seekers of Perl Wisdom