Skip Menu |

This queue is for tickets about the Perl-Signature CPAN distribution.

Report information
The Basics
Id: 16653
Status: resolved
Priority: 0/
Queue: Perl-Signature

People
Owner: Nobody in particular
Requestors: jpierce [...] cpan.org
Cc:
AdminCc:

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



Subject: new does not behave as documented
Not only does the new method totally discard any provided value for the normalizaiton layer, it dies if you provide one. use Perl::Compare; use Perl::Signature; print "@ARGV\n"; my @obj; foreach my $arg ( 0 .. 1 ){ $obj[$arg] = Perl::Signature::Set->new(2) || die $!; $obj[$arg] = $obj[$arg]->add($ARGV[$arg]); } my $diff = Perl::Compare->new(from=>$obj[0]) || die $!; print $diff->compare_report($obj[1]); Died at foo.pl line 9. Not that it fairs any better without a layer: No such file or directory at foo.pl line 17.