http://qs321.pair.com?node_id=66900


in reply to Re: grepping
in thread grepping

Replacing the hash slice assignment with the following:
undef @data{@data};
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