Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Best way to compare range of characters in two text files

by Laurent_R (Canon)
on Jul 12, 2018 at 07:36 UTC ( [id://1218362]=note: print w/replies, xml ) Need Help??


in reply to Best way to compare range of characters in two text files

If you know how to read the first 50 characters from each file, why don't you simply read them into variables and then compare the variables? That should be much simpler.

I can't say much more right now because it is not clear to me what you mean by comparing the first 50 characters: do you just need to know if they are equal? Do you need to find the differences? Also, are the files text files? Please provide more details.

  • Comment on Re: Best way to compare range of characters in two text files

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-25 14:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found