Skip Menu |

This queue is for tickets about the HTML-Tree CPAN distribution.

Report information
The Basics
Id: 66515
Status: rejected
Priority: 0/
Queue: HTML-Tree

People
Owner: Nobody in particular
Requestors: JEB [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 4.1
Fixed in: (no value)



Subject: Use of uninitialized value in subroutine entry at /usr/lib/perl5/site_perl/5.8.8/HTML/TreeBuilder.pm line 104.
Hi, Using HTML::TreeBuilder $VERSION = '4.1' I randomly get: Use of uninitialized value in subroutine entry at /usr/lib/perl5/site_perl/5.8.8/HTML/TreeBuilder.pm line 104. I'm using this from HTML::TreeBuilder::XPath. This is inside the new_form_content() sub. Starting from line 99: 099 foreach my $whunk (@_) { 100 if ( ref($whunk) eq 'SCALAR' ) { 101 $new->parse($$whunk); 102 } 103 else { 104 $new->parse($whunk); 105 } 106 last if $new->{'_stunted'}; # might as well check that. 107 } Hope this helps. James james@rcpt.to
Hi, do you have some sample data to test this on? Cheers, Jeff.
Can you supply an example to reproduce this problem? Otherwise, I'm going to be closing this ticket, as it doesn't seem to be happening to anyone else. Thanks.
Sorry, no new information; I'm not on this project any more, and cannot replicate this now (no access to this code any more). Feel free to close this.
Closing since we're unable to reproduce it.