Hiperldoc -f -x
How do I check whether a file is in ebcdic or ascii format ?
Thanks, Nitish
That tells me how to find if a file is ascii text
if(-T $file) { print "$file is an ascii text file \n"; } else { print "Not an ascii text file \n"; }
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>