Subject: | autodie should die when stat/lstat fails |
$ perl -Mautodie -E 'stat("/foobar"); say $!; say "alive"'
No such file or directory
alive
IMHO, autodie should die here too.
In fact, at least every function in perlfunc that can set $! should be
wrapped by autodie.
Regards,
Danijel