Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: CPAN Module to determing overlap of 2 lists?

by LanX (Saint)
on Aug 10, 2020 at 23:23 UTC ( [id://11120570]=note: print w/replies, xml ) Need Help??


in reply to CPAN Module to determing overlap of 2 lists?

Hint: you could just slurp the two files in a variable each and let index do the heavy lifting... :)

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re: CPAN Module to determing overlap of 2 lists?

Replies are listed 'Best First'.
Re^2: CPAN Module to determing overlap of 2 lists?
by wazat (Monk) on Aug 11, 2020 at 00:22 UTC

    Yes, index could be more efficient.

    I'd need some logic to adjust the size of the window I'm trying to match, but it could work.

    I might also look at rindex

Log In?
Username:
Password:

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

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

    No recent polls found