Do you know of an easier way rather than running your code within a foreach loop?push(@{$occurrences{$ID}}, "$term1"); push(@{$occurrences{$ID}}, "$term2");
foreach (keys (%occurrences)) { (@occurrences) = @{$occurrences{$_}}[ # Do the code you posted... } # end-foreach
In reply to Re: Re: matching arrays
by rsiedl
in thread matching arrays
by rsiedl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |