I don't know of any 1:1 relationship that could be assumed in general terms where a HTML web page is translated into a hash table. There is no implicit set of rules that we could use to take a stab at what you're trying to accomplish. That being the case, we really don't have enough information to be able to provide anything more than generic help.
For web-scraping, WWW::Mechanize is convenient. HTML::TreeBuilder is a pretty good generalized HTML parser.
| [reply] |
- Use for example LWP::Simple to get the remote file into a scalar variable.
- Parse the HTML file.
- Put the results in a hash.
- Profit!
| [reply] |
Now i have got the contents of the HTML into a file1. file1 has user related data.
Next, i am using another FILE, file2. file2 contains a list of users specific to a category.
Based on the data in file2, i have to modify the file1 content.
How effectively can i do this?
| [reply] |
You hire a programmer.
Jenda
Enoch was right!
Enjoy the last years of Rome.
| [reply] |
i want to read from a web page store it in a HASH sort it according to specific requirement and generate a report for the sorted data
| [reply] |