Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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?
[Happy-the-monk]: LanX: for what? Being more successful selling old stories than her antecedents?
[Happy-the-monk]: (now all you need to do is answer: "no, for money." ;-))

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2018-04-20 11:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?