redeclaration of itemnumber in RotatingCollections
A couple of errors caused by retaining commas in qw()
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
BEGIN {
use version; our $VERSION = qv('1.0.0_1');
- use vars qw(@EXPORT, @ISA);
+ use vars qw(@EXPORT @ISA);
@ISA = qw(Exporter);
our @EXPORT = qw(get_all_templates
get_all_layouts
BEGIN {
use version; our $VERSION = qv('1.0.0_1');
- use vars qw(@EXPORT, @ISA);
+ use vars qw(@EXPORT @ISA);
@ISA = qw(Exporter);
our @EXPORT = qw(unpack_UTF8
text_alignment
my $row = $sth->fetchrow_hashref;
- my $itemnumber = $$row{'itemnumber'};
+ $itemnumber = $row->{itemnumber};
$sth->finish;
if ( $itemnumber ) {