Webscraping_tutorial is a project mainly written in PERL and RUBY, it's free.
Web scraping with Perl, WWW::Mechanize and HTML::TableExtract