Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: How do I get both the return value and text? backticks vs. system()

by Archon810 (Initiate)
on Apr 30, 2008 at 01:42 UTC ( [id://683597]=note: print w/replies, xml ) Need Help??


in reply to How do I get both the return value and text? backticks vs. system()

Having used the new Perl 5.10, I was shocked to find this new variable after months of use:
${^CHILD_ERROR_NATIVE}
This variable gives the native status returned by the last pipe close, backtick command, successful call to wait() or waitpid(), or from the system() operator. See perlrun for details. (Contributed by Gisle Aas.)

New internal variables

Finally!.. what else can I say?

  • Comment on Re: How do I get both the return value and text? backticks vs. system()
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-16 19:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found