Skip Menu |

This queue is for tickets about the Array-Compare CPAN distribution.

Report information
The Basics
Id: 73287
Status: resolved
Priority: 0/
Queue: Array-Compare

People
Owner: DAVECROSS [...] cpan.org
Requestors: andrew [...] illywhacker.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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"; }
Wow! In over ten years of this module being out there, you're the first person to tickle that bug. I can see what it is and already know what the fix is. I'll try to get a new version off to CPAN this evening. Cheers, Dave...
Version 2.02 en route to CPAN now. Dave...