http://www.perlmonks.org?node_id=1019060


in reply to Re^2: Strange system call failure in OS X
in thread Strange system call failure in OS X

Mmh...?

#!/usr/bin/env perl + eval { qx(nose --cuke) || die qq(shit: $!\n) }; print qq(Trapped this $@) if $@; __END__ Karls-Mac-mini:monks karl$ ./nose.pl Trapped this shit: No such file or directory

Update: I always thought that it isn't a bad idea to wrap a call to a subshell into a eval block. And i don't know what is generic with qx. It's just the same as backticks, isn't it? Just a subshell.

Regards, Karl

«The Crux of the Biscuit is the Apostrophe»