Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 chilling in the Monastery: (9)
As of 2015-07-07 23:39 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 (93 votes), past polls