Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 cooling their heels in the Monastery: (4)
As of 2015-08-30 10:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (348 votes), past polls