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:
TIMTOWTDI
sub is (&@) { my $test = shift; $test->() and return 1 for @_; 0 } sub in (@) {@_} if( is {$_ eq "a"} in qw(d c b a) ) { print "Welcome in perl!\n"; }