Subject: | meta data handling broken |
Date: | Sun, 02 Aug 2020 07:39:17 +0000 |
To: | bug-LinkedList-Single [...] rt.cpan.org |
From: | Jörg Sommrey <jo [...] sommrey.de> |
Hi,
none of the meta data methods are working, they all throw a
dereferencing error.
#!/usr/bin/perl
use strict;
use warnings;
use LinkedList::Single;
my $lh = LinkedList::Single->new(1, 2, 3);
eval {
$lh->set_meta('meta');
};
print $@ if $@;
eval {
$lh->add_meta('added');
};
print $@ if $@;
eval {
$lh->get_meta;
};
print $@ if $@;
__DATA__
Not an ARRAY reference at
/usr/local/share/perl/5.20.2/LinkedList/Single.pm line 242.
Not an ARRAY reference at
/usr/local/share/perl/5.20.2/LinkedList/Single.pm line 253.
Not an ARRAY reference at
/usr/local/share/perl/5.20.2/LinkedList/Single.pm line 264.