Perl file test

Página superior
Adjuntos:
Obtener este mensaje como un correo
+ (text/plain)
Eliminar este mensaje
Responder a este mensaje
Autor: Mike Starke
Fecha:  
Asunto: Perl file test
/_
/_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