The File::Basename::dirname('foo') is returning the current working directory instead of File::Spec->cur_dir as would be the behavior on other platforms.

Is this something that can be changed with out breaking other things?

The current behavior silently breaks a UNIX based perl script that is generating dependencies in a Makefile because the makefile uses relative paths everywhere else.

Changing the dirname() to return File::Spec->cur_dir makes the script produce the correct output.

-John
[EMAIL PROTECTED]
Personal Opinion Only


Reply via email to