Beefy Boxes and Bandwidth Generously Provided by pair Networks chromatic writing perl on a camel
Perl-Sensitive Sunglasses
 
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: (11)
As of 2014-04-17 04:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (439 votes), past polls