in reply to Re^3: Test if STDOUT is attached to console or shell redirected filehandle
in thread Test if STDOUT is attached to console or shell redirected filehandle
In Windows (ActiveState v5.10.0) doing it this way "works":
type highlight.pl | perl highlight.pl
Doing it this way does not:
type highlight.pl | highlight.pl
|
|---|