Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: I got two questions, please see here:)

by Anonymous Monk
on Feb 18, 2011 at 13:56 UTC ( [id://888903]=note: print w/replies, xml ) Need Help??


in reply to I got two questions, please see here:)

For Q1, %SIG is the answer, as noted above.

For Q2, it depends on what you need to do. If you don't need the command output you can just redirect the output to /dev/null. Backticks, or qx//, shouldn't print anything to STDOUT, so maybe you're getting some of hte progam STDERR instead. You can try to execute the command as my @output = `$command 2>&1`, or go to IPC::Open2 or IPC::Open3 if you need to parse the output.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-19 00:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found