foreach $list(@list){$count++ if ($list eq $elm);}
Anandatirtha
In reply to Re: Re: Combinations of a set of elements by Ananda in thread Combinations of a set of elements by Anonymous Monk