Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: problem parsing html

by Anonymous Monk
on Jul 15, 2009 at 13:52 UTC ( [id://780314]=note: print w/replies, xml ) Need Help??


in reply to problem parsing html

"Doesn't work" isn't very specific :)

Try adding

warn "td $td"; warn "a $a";
before next unless $a; and show what you get

Replies are listed 'Best First'.
Re^2: problem parsing html
by paola82 (Sexton) on Jul 15, 2009 at 14:33 UTC
    td HTML::Element=HASH(0x85a6a18) at test6.pl line 21. Use of uninitialized value in concatenation (.) or string at test6.pl line 22. a at test6.pl line 22.
      Switch with
      my( $a ) = $td->look_down(_tag => q{a});
        that gave to me the same as before...I don't know why

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2024-04-23 12:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found