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

Re^2: Comparing a list to a tab delimited text file

by bliako (Monsignor)
on Jan 13, 2018 at 20:55 UTC ( [id://1207203]=note: print w/replies, xml ) Need Help??


in reply to Re: Comparing a list to a tab delimited text file
in thread Comparing a list to a tab delimited text file

Azaghal,

A hash is a good solution.

An optimisation you can do is NOT to create or update genre and nombre variables UNLESS a match was found. In the above solution, these two variables are created when if( exists ...) succeeds.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-03-29 02:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found