in reply to Re: Re: Find a value from an array in a string
in thread Find a value from an array in a string

Instead of:
if ($field[0] eq "FT1") { if ($field[7] == $skipaccount{$_}) { $suppress = 1 if $skipaccount{$field[7]}; } }
you just need:
if ($field[0] eq "FT1") { $suppress = 1 if $skipaccount{$field[7]}; }
Of course there are a lot of ways to do it--TMTOWTDI