Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: put system(); output into my $variable -- chech for installed aplications

by prasadbabu (Prior)
on Jan 15, 2009 at 12:57 UTC ( #736533=note: print w/ replies, xml ) Need Help??


in reply to put system(); output into my $variable -- chech for installed aplications

You have to use backtictks (``) or qx// to get the result and store the same in a variable. See about them in perlop and perlfunc.

Prasad


Comment on Re: put system(); output into my $variable -- chech for installed aplications

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2014-12-27 10:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls