in reply to hash question
foreach my $key (keys %csahash) { if(defined $cathhash{$key}) { print "$key matches. It's values are $csahash{$key} and $cathh +ash{$key}\n"; } }
update 2map { print "$_ matches. It's values are $csahash{$_} and $cathhash{$_ +}\n" if(defined $cathhash{$_}) } keys %csahash;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: hash question
by johngg (Canon) on Dec 11, 2007 at 12:41 UTC |