in reply to Re^2: How to print called program to stdout
in thread How to print called program to stdout

> because system() doesn't output

It does. system prints to STDOUT, you just can't access its output from the calling Perl program:

$ perl -we 'system "date"' Sat Mar 19 10:48:46 CET 2016
($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Replies are listed 'Best First'.
Re^4: How to print called program to stdout
by pryrt (Abbot) on Mar 19, 2016 at 23:57 UTC

    oops, you're right (struck out)

    What I really should have been pointing out is that without the print statement, `` or qx// wouldn't output anything.