in reply to Re: Another eval $@ question
in thread Another eval $@ question

system("$command"); will never thrown an exception for eval {} to catch.
Yes and no:
$ perl -we'$SIG{CHLD} = sub { die "whoa there" }; eval { system("true" +) }; print "!$@!"' !whoa there at -e line 1. !

Replies are listed 'Best First'.
Re^3: Another eval $@ question
by ambrus (Abbot) on Oct 13, 2006 at 11:17 UTC