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

Re: How to output backtick or qx to a variable and STDOUT at the same time?

by Utilitarian (Vicar)
on Nov 20, 2012 at 08:39 UTC ( #1004674=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     perl -e 'print $out=qx(ls  );print "+" x 80 , "\n";print $out'
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2014-12-26 17:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (173 votes), past polls