Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: Getting File Type using Regular Expressions

by Anonymous Monk
on Apr 21, 2004 at 17:12 UTC ( #347065=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print "File is binary\n" if (-B);
    print "File is a text file\n" if (-T);
    
  2. or download this
    print "File is binary\n" if (!-T);
    print "File is a text file\n" if (!-B);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2019-08-20 09:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?