One of the Perl file test operators, -T tells you if a file is a text file. A text file in this context means that when some of the file is read, it seems like text to Perl.