"be consistent" | |
PerlMonks |
Re: Trying to write a subroutine to return if file is Text or Binaryby Laurent_R (Canon) |
on Jun 26, 2014 at 06:07 UTC ( [id://1091299]=note: print w/replies, xml ) | Need Help?? |
Just in case this is not clear to you, a file containing ASCII representations of 0's and 1's is not a binary file, but a text file that will test true for the -T test.
In Section
Seekers of Perl Wisdom
|
|