Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
                                                                          
    +          
    ...
      return 0;
    }
    
  2. or download this
    my @array1 = [ "A", "B", "C" ];
    
  3. or download this
    use strict;
    use warnings;
    ...
              'test4',
              'test4'
            ];
    
  4. or download this
      return 1 if ($y =~ /$x/);      # Swapped $x and $y
    
  5. or download this
    my @array2_copy = @array2;
    foreach my $item1 (@array1) {
    ...
            ...
        }
    }