Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: html into an array

by davidrw (Prior)
on May 20, 2007 at 15:03 UTC ( #616449=note: print w/ replies, xml ) Need Help??


in reply to html into an array

Not sure exactly what your input/output is, but you might mind HTML::TableExtract very handy as a potential alternate approach to your problem.


Comment on Re: html into an array
Re^2: html into an array
by jZed (Prior) on May 20, 2007 at 16:55 UTC
    And if your data is in an HTML table, you can get your array in a single line of AnyData code. AnyData uses both LWP and HTML::TableExtract under the hood:
    use AnyData; my $arrayRef = adConvert( 'HTMLtable', # input is an HTML table 'http://host/path/foo.html', # input comes from a remote file 'ARRAY', # output is an Array reference '', # output not sent to file {count=>1} # HTML::TableExtract flags );

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2015-07-04 22:43 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 (60 votes), past polls