in reply to Re: The Anomalous each()
in thread The Anomalous each()
Further, from a code maintainability aspect, the use of keys() would definitely appear to be superfulous, and another maintainer might be inclined to remove it.
I'll go with using a foreach loop instead:
when my threashhold of comfort for using each() is not met.foreach my $key (keys(%hash)) { my $val = $hash{$key}; ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: The Anomalous each()
by diotalevi (Canon) on Nov 18, 2005 at 20:28 UTC | |
by jdhedden (Deacon) on Nov 18, 2005 at 20:54 UTC |