Perl file test

Mike Starke plug-discuss@lists.plug.phoenix.az.us
Thu, 14 Nov 2002 09:39:32 -0500


What is the differance between the -f and -T file tests in Perl.
My documentation says:

-f Entry is a plain file
-T File is "text"

I had used -T to test whether it is a "plain text (ASCII) file",
but it keeps returning false when I know it is true. Perhaps I do not understand
what is meant by 'File is "text".

Can anyone enlighten me?

v/r
-Mike