in reply to Re: How To Store Data Structures
in thread How To Store Data Structures

Thanks a lot! That makes tons of sense. And the object (no pun intended) is to have a scraper that handles all contingencies in the scrape() function, and allow people to create and publish new scrapers and make the available to others.

So going by your first example, it would work like

my $yahoo_scraper = new Scraper 'Scraper::Yahoo'; $yahoo_scraper->scrape();
having read all the key information in the new() call.

Nobody's written to say that in the brave new world of RSS we don't need scrapers any more? Good...



($_='kkvvttuu bbooppuuiiffss qqffssmm iibbddllffss')
=~y~b-v~a-z~s; print