Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Parsing html snippet, help appreciated.

by choroba (Cardinal)
on Sep 29, 2012 at 21:03 UTC ( [id://996423]=note: print w/replies, xml ) Need Help??


in reply to Parsing html snippet, help appreciated.

Uncomment the qw/tree/ method for HTML::TableExtract. Then, instead of $row->[1], go deeper into the structure of the returned object:
$row->[0]->content->[3]->attr('value');
See HTML::Element for methods of the elements.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^2: Parsing html snippet, help appreciated.
by hesco (Deacon) on Sep 29, 2012 at 22:29 UTC

    choroba:

    As some would say in this country, you are the man!

    Thank you again sir. I regret only that I can upvote your comment but once. That advice was spot on, and led me within less than an hour of experimentation and refinement to a solution to my issue and the delivery of my report. On to the next ticket!

    -- Hugh

    if( $lal && $lol ) { $life++; }
    if( $insurance->rationing() ) { $people->die(); }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-25 17:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found