in reply to If statement multiple conditions
See also: Slices, How can I remove duplicate elements from a list or array?my %ciks_hash; undef @ciks_hash{@ciks}; # this is called "hash slice" # ... later: if ($form_type=~/$formget/i && exists $ciks_hash{$cik}) { ... }
|
|---|