Help for this page

Select Code to Download


  1. or download this
    sub in_list { ( $_ eq $_[0] ) && return 1 for @_[ 1 .. $#_ ]; undef;}
    
  2. or download this
    sub in_list {
      for (@_[ 1 .. $#_ ]){
    ...
      }
      undef;
    }