Do you know where your variables are? | |
PerlMonks |
Re: extract phrases of n-words lengthby suaveant (Parson) |
on Jun 24, 2009 at 15:57 UTC ( [id://774437]=note: print w/replies, xml ) | Need Help?? |
One thing you could do to scale up would be instead of using many different hashes, use a single multi-level hash... so you would do $phrase{$word_one}{$word_two}{$word_three}{$word_four}, that should save some space and get you all your phrases, though it would be more work to get them out. Then again, all the added hash overhead might nullify the savings... it would make the data more usable in certain applications, however.
In Section
Seekers of Perl Wisdom
|
|