Subject: | Array::Compare $VERSION = '2.01' |
Date: | Thu, 15 Dec 2011 16:57:38 +0000 |
To: | dave [...] mag-sol.com |
From: | Andrew Solomon <andrew [...] illywhacker.net> |
Hi Dave
I'm just getting the following warnings from the script below and
wonder whether it's the intended behaviour:
Use of uninitialized value in join or string at
/usr/share/perl5/Array/Compare.pm line 335.
Use of uninitialized value in join or string at
/usr/share/perl5/Array/Compare.pm line 336.
cheers
Andrew
#!/usr/bin/perl
use strict;
use warnings;
use Array::Compare;
my @arr = (undef,200,300);
my @bee = (undef,200,300);
my $comp = Array::Compare->new();
if ($comp->compare (\@arr, \@bee)) {
print "Arrays are the same \n";
}
else {
print "Arrays are different \n";
}