Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Use of uninitialized value in subroutine entry at c:/Perl/lib/HTML/TreeBuilder.pm

by nonsequitur (Beadle)
on Oct 16, 2013 at 11:41 UTC ( #1058428=note: print w/ replies, xml ) Need Help??


in reply to Use of uninitialized value in subroutine entry at c:/Perl/lib/HTML/TreeBuilder.pm

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"');


Comment on Re: Use of uninitialized value in subroutine entry at c:/Perl/lib/HTML/TreeBuilder.pm
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1058428]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2014-08-23 16:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (174 votes), past polls