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