Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by nonsequitur (Monk)
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"');

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1058428]
help
Chatterbox?
[Corion]: A good morning to everybody!
[Lady_Aleena]: Morning Corion.
[Corion]: I spent yesterday evening (and early night) in VR in Vanishing Realms, and can really recommend it
Discipulus is a very sad mornig anyway..
[Corion]: The title/"cover" image doesn't convey the comic/painted style, and the gameplay is really diverse, especially for a VR game

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2017-05-23 07:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?