Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2017-04-25 21:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (464 votes). Check out past polls.