in reply to Get Parent Directory
You might want to have a look at File::Basename, a module that is part of the standrad distribution.
It allows to extract the file name, file extension and directory name of a given path. This is what you want to achieve, I think.
Hope this helps, -gjb-
|
|---|