in reply to Re^2: convert a given dir name to its absolute path
in thread convert a given dir name to its absolute path

There are bugs in File::Spec that have to do with relative and absolute paths. Some are recently fixed, some fixes are still in developer releases. This may be related. You might want to see if upgrading File::Spec helps. See the change log for details.

-xdg

Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.