Bug #87159 for HTML-TableExtract: Use of uninitialized value in subroutine entry at /usr/local/lib/perl5/site_perl/5.16/HTML/TableExtract.pm line 1244. (Code Fix)
Mon Jul 22 11:32:49 2013paul.g.webster [...] googlemail.com - Ticket created
Subject:
Use of uninitialized value in subroutine entry at /usr/local/lib/perl5/site_perl/5.16/HTML/TableExtract.pm line 1244. (Code Fix)
Date:
Mon, 22 Jul 2013 16:32:27 +0100
To:
bug-HTML-TableExtract [...] rt.cpan.org
From:
Paul Webster <paul.g.webster [...] googlemail.com>
Simply change from:
sub strip {
my $self = shift;
$self->parse(shift);
$self->eof;
$self->{_htes_tidbit};
}
To:
sub strip {
my $self = shift;
$self->parse(shift) if ($_[0]);
$self->eof;
$self->{_htes_tidbit};
}