http://www.perlmonks.org?node_id=987454


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.