Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: How can I compare (the content of) two files?

by devslashneil (Friar)
on Jun 18, 2003 at 03:00 UTC ( [id://266710]=note: print w/replies, xml ) Need Help??


in reply to How can I compare (the content of) two files?

Another way would be to use File::Compare
eg.
use File::Compare; if (compare("file1","file2") == 0) { print "They are the same\n"; }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-20 02:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found