in reply to using hash to compare with string and print the string
foreach my $key (@array) { if (exists $hash{$key} ) { print "array element: $key = $hash{$key} inside \%hash\n"; } else { next } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: using hash to compare with string and print the string
by daxim (Curate) on May 15, 2019 at 15:53 UTC |