in reply to Weird use warnings FATAL behavior
Hmmm, look at this...
use warnings FATAL => qw(all); eval { open(CMD, "_bad_exe_ a b c|") or die "does not happen" }; die "die \$\@ ERROR: $@\n"; while(<CMD>){} __END__ die $@ ERROR: Can't exec "_bad_exe_": No such file or directory at ... + line x. die $@ ERROR:
How did that happen?
This is perl, v5.8.8 built for x86_64-linux-gnu-thread-multi
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Weird use warnings FATAL behavior (expected)
by tye (Sage) on Mar 18, 2008 at 06:05 UTC | |
by ikegami (Patriarch) on Mar 18, 2008 at 06:59 UTC |