Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2014-07-26 06:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls