3

You could use WWW::Mechanize::Firefox to process any site that could be loaded by Firefox.
http://search.cpan.org/~corion/WWW-Mechanize-Firefox-0.70/lib/WWW/Mechanize/Firefox/Examples.pm
You have to install the Mozrepl plugin and you will be able to process the web page contant via this module....