mnlight has asked for the wisdom of the Perl Monks concerning the following question:
sub loop_through_hash{ my($hash) = @_; foreach $k (keys %hash){ print "$k => $hash{$k} }#end foreach loop }#end loop_through_hash
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: lopping through a hash passed as a reference
by vek (Prior) on Oct 25, 2002 at 15:38 UTC | |
by mnlight (Scribe) on Oct 25, 2002 at 15:44 UTC | |
|
Re: lopping through a hash passed as a reference
by VSarkiss (Monsignor) on Oct 25, 2002 at 15:40 UTC |