Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://987454]
help
Chatterbox?
[Lady_Aleena]: Hello.
[Discipulus]: ciao Lady_Aleena
[chacham]: hi
[shmem]: hola

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2017-06-26 21:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (594 votes). Check out past polls.