Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Backticks, $?, and Sudo

by helgi (Hermit)
on Jan 17, 2003 at 11:03 UTC ( [id://227647]=note: print w/replies, xml ) Need Help??


in reply to Backticks, $?, and Sudo

For backticks and qx you return the error via $! and not $?

Thus $? is Illegal because you haven't run a child process and thus get no CHILD_ERROR.

--
Regards,
Helgi Briem
helgi AT decode DOT is

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-25 15:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found