Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: how do I run an external command

by vinoth.ree (Parson)
on Feb 19, 2013 at 12:16 UTC ( #1019538=note: print w/ replies, xml ) Need Help??


in reply to [solved] how do I run an external command

Go through this link to get to know how to Execute external command

You can use the backtics to execute your external program and capture its stdout and stderr.

By default the backticks discard the stderr and return only the stdout of the external program.

Update:

qx() is a alternative to using back-quotes to execute external commands.


Comment on Re: how do I run an external command

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2015-01-31 15:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (258 votes), past polls