Hi,
I want to compare the elements of an array with the keys in a hash. If matches are found, I want to store the values associated with the matched keys in an array for future processing :

my @storage_array = ();
foreach $item(@original array) {                
                        
                        if (exists $original_hash{$item}) {
                                push(@storage_array, ?????? )
                        }
}

Cheers,
Mark


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to