Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^3: Strange system call failure in OS X

by karlgoethebier (Parson)
on Feb 16, 2013 at 19:19 UTC ( #1019060=note: print w/ replies, xml ) Need Help??

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


#!/usr/bin/env perl + eval { qx(nose --cuke) || die qq(shit: $!\n) }; print qq(Trapped this $@) if $@; __END__ Karls-Mac-mini:monks karl$ ./ 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»

Comment on Re^3: Strange system call failure in OS X
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1019060]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (14)
As of 2015-11-24 22:44 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (664 votes), past polls