Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Foreach Array and Html table extract

by Cristoforo (Curate)
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://987454]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2017-11-22 02:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (314 votes). Check out past polls.

    Notices?