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 reply to Re^2: Comparing a list to a tab delimited text file
by bliako
in thread Comparing a list to a tab delimited text file
by Azaghal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |