Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: external program variables

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

Comment on Re: external program variables
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2015-11-26 20:25 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (707 votes), past polls