What have you tried? Did the obvious solution (i.e. map { $_ => $hash{$_} } grep { foo($hash{$_}) and bar($hash{$_}) } keys %hash) not work for you? Why not? Do you have any other ideas how this could be accomplished? Did you try them? What about them failed?
You should ask yourself these questions. Before you post. And then answer these questions in your post. I think you'll get more response this way.
In reply to Re: Optimizing quickly hash tables by checking multiple conditions
by revdiablo
in thread Optimizing quickly hash tables by checking multiple conditions
by juo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |