in reply to Trying to write a subroutine to return if file is Text or Binary

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.
  • Comment on Re: Trying to write a subroutine to return if file is Text or Binary