Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Trying to write a subroutine to return if file is Text or Binary

by Laurent_R (Canon)
on Jun 26, 2014 at 06:07 UTC ( [id://1091299]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1091299]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (7)
As of 2024-04-23 13:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found