Subject: | XS abs_path silently allows missing directories; pure perl version warns |
Using version 3.47 as downloaded from cpan:
: [ether@bourbon 1415657802.76806/PathTools-3.47]$; perl Makefile.PL
...
: [ether@bourbon 1415657802.76806/PathTools-3.47]$; make
...
: [ether@bourbon 1415657802.76806/PathTools-3.47]$; perl -d:Confess -Iblib/lib -MCwd=abs_path -wle'print abs_path("foo")'
stat(foo): No such file or directory at blib/lib/Cwd.pm line 372.
Cwd::_carp("stat(foo): No such file or directory") called at blib/lib/Cwd.pm line 565
Cwd::_perl_abs_path("foo") called at -e line 1
: [ether@bourbon 1415657802.76806/PathTools-3.47]$; perl -d:Confess -Iblib/lib -Iblib/arch -MCwd=abs_path -wle'print abs_path("foo")'
/Users/ether/.cpanm/work/1415657802.76806/PathTools-3.47/foo