in reply to
Details of filehandles
With
-t
you can test if a file handle is connected to a terminal (and thus not redirected). I don't know how you get more specific information out of it though.
Perl 6
- links to (nearly) everything that is Perl 6.
Comment on
Re: Details of filehandles
In Section
Seekers of Perl Wisdom