Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: how do I run an external command

by vinoth.ree (Monsignor)
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.


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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1019538]
[1nickt]: Life is weird. Just reading about the iPhone battery problems and saw: 'It’s like calling water “dihydrogen monoxide”'

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2016-12-06 14:11 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (105 votes). Check out past polls.