in reply to Create a new operator, get LHS
If you wish for a if ($var in @list) then the @list ought most probably be a hash and the statement should be if (exists $list{$var}).
Jenda Enoch was right! Enjoy the last years of Rome.