"be consistent" | |
PerlMonks |
Re^2: Comparing a list to a tab delimited text fileby bliako (Monsignor) |
on Jan 13, 2018 at 20:55 UTC ( [id://1207203]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|