Perl-Sensitive Sunglasses | |
PerlMonks |
Re^4: Test if STDOUT is attached to console or shell redirected filehandleby liverpole (Monsignor) |
on Sep 09, 2009 at 17:10 UTC ( [id://794407]=note: print w/replies, xml ) | Need Help?? |
Interesting!
In Windows (ActiveState v5.10.0) doing it this way "works":
Doing it this way does not:
s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/
In Section
Seekers of Perl Wisdom
|
|