http://qs321.pair.com?node_id=1212613


in reply to about retrieving and parsing html without writing on disk

hmm, I'm too busy to install the modules, but it's at least possible to open a variable for reading and writing.

open my $fh , "<", \$cache

so if you can operate with filehandles instead of files this should work.

update

HTML::Parser allows ->parse_file($fh) and even ->parse($string)

update

Maybe have a look at $string = $mech->content(...) from WWW::Mechanize

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery