Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Use of uninitialized value in subroutine entry at c:/Perl/lib/HTML/TreeBuilder.pmby nonsequitur (Pilgrim) |
on Oct 16, 2013 at 11:41 UTC ( [id://1058428]=note: print w/replies, xml ) | Need Help?? |
I can't check further because the formatting of the code is so bad but adding square brackets seems to get rid of most of the problems. Like this my @trips = $p->findnodes('//div[@class="info-cruise"]'); Instead of this my @trips = $p->findnodes('//div@class="info-cruise"');
In Section
Seekers of Perl Wisdom
|
|