XP is just a number | |
PerlMonks |
Re: Re: greppingby MeowChow (Vicar) |
on Mar 25, 2001 at 01:10 UTC ( [id://66900]=note: print w/replies, xml ) | Need Help?? |
Replacing the hash slice assignment with the following:
is considerably faster, though somewhat obscure. Also, your slice assignment doesn't do quite what you mean it to do (it sets only the first key's value to 1, and the rest to undef). MeowChow s aamecha.s a..a\u$&owag.print
In Section
Seekers of Perl Wisdom
|
|