Cwd::abs_path() functions by chdir()ing to each path in turn, and then
stat()ing them, as well as opendir()ing them. It exits, returning ""
(which is The Wrong Thing) if it is unable to opendir() any given
directory in the path.
Possible solutions:
Fix Cwd::abs_path(), so it doesn't do that. Possibly, rather
than warning and returning, it should use fast_abs_path() instead,
which should handle warnings if they need to be given.
Alternatively, have FindBin use a fallback if abs_path()
fails.
Migrated from rt.perl.org#1845 (status was 'resolved')
Searchable as RT1845$
The text was updated successfully, but these errors were encountered: