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