Perl file test

Mike Starke plug-discuss@lists.plug.phoenix.az.us
Thu, 14 Nov 2002 10:00:05 -0500


/_
/_FWIW, my docs say "-T File is an ASCII text file", so presumably a
/_control character (^M?) or something slipped in when you weren't
/_looking.
/_
/_David

I think I discovered my problem: I was trying to do a test like:

if (! (-e -T $file1 && -e -T $file2)) {
  blah die
  }

I can not run two tests on the same file. I thought I have done
or seen this before in a Bash script, I thought the same would
apply to Perl. Is this possible in Bash, or am I imagining things again?

v/r
-Mike