@genes; @genes = split(/\t/,$genesList);
Mentioning a variable before using it doesn't do anything useful - it's just cargo cult programming. use strict and declare your variables with my instead:
my @genes = split m/\t/, $genesList;
In reply to Re: Searching each word of a file
by moritz
in thread Searching each word of a file
by biomonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |