you just need:if ($field[0] eq "FT1") { if ($field[7] == $skipaccount{$_}) { $suppress = 1 if $skipaccount{$field[7]}; } }
Of course there are a lot of ways to do it--TMTOWTDIif ($field[0] eq "FT1") { $suppress = 1 if $skipaccount{$field[7]}; }
In reply to Re: Re: Re: Find a value from an array in a string
by Thelonius
in thread Find a value from an array in a string
by Skyler99
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |