Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have a filename including path: "D:\nt\tools\whoa.txt".
I can use basename to get the whoa.txt. How can I get the pathname--"D:\nt\tools\"?
Back to
Seekers of Perl Wisdom