The important magic is in lc. You'll have to use lc when you pull values out of the hash, too, or use a tied hash that does this for you.foreach (@words) { $word_idx{lc($_)} = $position; }
In reply to RE: RE: RE: Re: Search Algorithm
by chromatic
in thread Search Algorithm
by tenfourty
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |