Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Foreach Array and Html table extract

by Cristoforo (Deacon)
on Aug 14, 2012 at 20:55 UTC ( #987454=note: print w/ replies, xml ) Need Help??


in reply to Foreach Array and Html table extract

my @lines = <FH>;

Judging by your code, I think the content of @lines are comma separated urls. I don't see anywhere you are getting the HTML content from any of the urls. I think you want to retrieve the webpage using LWP::Simple and then parse the required columns from that web page's table(s).

Chris

Update: looking at the sample web page http://www.sec.gov/Archives/edgar/data/826083/000082608312000011/dellq1fy1310q.htm , not sure which tables you want to parse. It looks like a tricky parse.


Comment on Re: Foreach Array and Html table extract
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2014-10-21 06:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (97 votes), past polls