>> On Thu, 12 Dec 2002 18:07:36, Simon Wilcox <[EMAIL PROTECTED]> said:

   > I have a path, say "dira/dirb/../dirc/file" and I want to
   > collapse it to a canonical path "dira/dirc/file".

File::Spec does it.  The canonpath() method.  I saw it mentioned in
Mark's advent calendar recently, so thank him.  :-)

- Chris.
-- 
$a="printf.net";  Chris Ball | chris@void.$a | www.$a | finger: chris@$a


Reply via email to