in reply to rel2abs doesnot work in unix
Because of that, it cannot know that "work" is not a symlink, so that "work/.." cannot be removed safely. Thus, you are getting the requested result. It may not be what you want, but it's what File::Spec knows how to return.No checks against the filesystem are made.
For more information, see my column on expanding symlinks.
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|