Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Checking and verifying a unix command sent in Perl

by jrsimmon (Hermit)
on Jul 19, 2009 at 04:34 UTC ( #781414=note: print w/ replies, xml ) Need Help??


in reply to Checking and verifying a unix command sent in Perl

The backtick operator `$command`; captures STDOUT from the $command issued. It does not capture STDERR (though you can tell the shell to send both STDOUT, if you want it). See perlop for the details.


Comment on Re: Checking and verifying a unix command sent in Perl
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (12)
As of 2015-07-31 09:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (276 votes), past polls