I\'m looking for presence of an element in a list.
In Python there is an in keyword and I would do something like:
in
if element in list:
grep is helpful here
if (grep { $_ eq $element } @list) { .... }