Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Parsing html snippet, help appreciated.

by choroba (Canon)
on Sep 29, 2012 at 21:03 UTC ( #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.
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re: Parsing html snippet, help appreciated.
Select or Download Code
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
Node Status?
node history
Node Type: note [id://996423]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (19)
As of 2015-07-31 20:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (281 votes), past polls