in reply to Pronoun Programming
What about:
for ($log_count{$key} ) { delete $_ if $_ == 0 }
I wonder if you could make a sub it() that returns $_ so you could say delete it if it == 0; :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Pronoun Programming
by jdporter (Paladin) on Feb 04, 2008 at 22:38 UTC | |
by eric256 (Parson) on Feb 04, 2008 at 23:43 UTC |