delete @log_count{grep($log_count{$_} == 0, keys %log_count)};
A little compressed, I know. You could break it into two lines, I guess:
@bad_log_entries = grep($log_count{$_} == 0, keys %log_count); delete @log_count{@bad_log_entries};
Just a thought...
Brett Diamond
In reply to Re: Pronoun Programming
by diamond
in thread Pronoun Programming
by rje
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |