Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: divide one file into multiple arraysby Laurent_R (Canon) |
on Jun 25, 2013 at 21:25 UTC ( [id://1040661]=note: print w/replies, xml ) | Need Help?? |
I fully agree a hash would be far better, even with a relatively small number of sites. It is not only faster, but it is also easier to code. A simple search in a hash is more straight forward than a grep (or whatever other implementation) in an array
In Section
Seekers of Perl Wisdom
|
|