Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my (@surprise) = grep($var1, @arr1);
    
    print Dumper( \@surprise );
    
  2. or download this
    use strict;
    use warnings;
    ...
        print "match $var1\n"
            if exists $reference{$var1};
    }