Lotus1 has asked for the wisdom of the Perl Monks concerning the following question:
This test script of List::Compare is returning an error:
Must pass at least 2 references to &new: at compare_lists.pl line 8.I tried B::Deparse and it says syntax OK. I checked cpan> i List::Compare to verify I have the latest version (0.55). Any suggestions?
use warnings; use strict; use List::Compare; my @lines1 = qw( test1 test2 test3 ); my @lines2 = qw( test1 test2 test4 ); my $lc = List::Compare::new( \@lines1, \@lines2);
Back to
Seekers of Perl Wisdom