Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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 musing on the Monastery: (8)
As of 2015-07-28 06:49 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (252 votes), past polls