in reply to Re: DOS's %0\..\ Perl Equivalent
in thread DOS's %0\..\ Perl Equivalent

I guess the opposite of File::Basename is File::Basename? In addition to the basename() method, the module includes dirname() for getting the directory path and fileparse() for getting all the pieces of a path at once.