Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
$ perl -E' use File::Copy qw(mv); use Fatal qw(mv); say mv q(/tmp/foo), q(/tmp/bar); ' Can't mv(/tmp/foo, /tmp/bar), $! is "No such file or directory" at (ev +al 3) line 4 main::__ANON__('/tmp/foo', '/tmp/bar') called at -e line 1 $ perl -E' use File::Copy qw(mv); use autodie qw(mv); say mv q(/tmp/foo), q(/tmp/bar); ' 0
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: autodie with non-builtins
by Anonymous Monk on Feb 17, 2009 at 02:39 UTC | |
|
Re: autodie with non-builtins
by pjf (Curate) on Feb 17, 2009 at 11:06 UTC | |
|
Re: autodie with non-builtins
by pjf (Curate) on Feb 17, 2009 at 10:16 UTC | |
|
Re: autodie with non-builtins
by pjf (Curate) on Feb 21, 2009 at 03:02 UTC | |
|
Re: autodie with non-builtins
by Bloodnok (Vicar) on Feb 17, 2009 at 11:00 UTC |