in reply to Re: how do I get the directory name from the pathnames
in thread how do I get the directory name from the pathnames


I am getting all the pathnames which I mentioned by parsing an xml file and not from the file system. Do you still think that using File::Basename will solve the probelm.

Please let me know.
  • Comment on Re^2: how do I get the directory name from the pathnames

Replies are listed 'Best First'.
Re^3: how do I get the directory name from the pathnames
by jZed (Prior) on Dec 21, 2005 at 16:20 UTC
    Yes, it will. It works on strings and breaks them into directory, file, extension, etc. It is portable. It is easy.