Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Parsing html snippet, help appreciated.

by choroba (Abbot)
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
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 contemplating the Monastery: (7)
As of 2014-10-31 07:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (215 votes), past polls