Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: external program variables

by Laurent_R (Abbot)
on Jun 02, 2013 at 20:53 UTC ( #1036621=note: print w/replies, xml ) Need Help??


in reply to external program variables

Not quite sure of what you want, but if you want to read the output of the system command you are issuing, then use the backticks rather than the system function. For example something like this:

my $output = `some_command.exe $param1 $param2`;

After that, $output will contain the output of some_command.exe.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1036621]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2016-12-09 23:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (158 votes). Check out past polls.