Hey all,
So I would have posted on the perl news thing but I just had a very snobby reply on another questiion I had. Anyway, I am trying to get List::Compare to work. It's working, I think but I just cannot seem to dereference it. This is what I have, it's only a test script.
Code:
#!usr/bin/perl -w
use strict;
use List::Compare;
my @Llist = qw(abel abel baker camera delta edward fargo golfer);
my @Rlist = qw(baker camera delta delta edward fargo golfer hilton);
my $lc = List::Compare->new(\@Llist, \@Rlist);
print "$lc\n";
foreach my $k (keys %$lc) {
print "$k: " . $lc->{$k} . "\n";
}
I get the keys but then I get the array reference. Has it made an HoA or something?
there is a line
Code:
$lc->print_subset_chart;
but it's not really telling me what the difference is between the two arrays.