in reply to about retrieving and parsing html without writing on disk
open my $fh , "<", \$cache
so if you can operate with filehandles instead of files this should work.
HTML::Parser allows ->parse_file($fh) and even ->parse($string)
Maybe have a look at $string = $mech->content(...) from WWW::Mechanize
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: about retrieving and parsing html without writing on disk
by rizzo (Curate) on Apr 10, 2018 at 00:30 UTC | |
by Your Mother (Archbishop) on Apr 10, 2018 at 06:10 UTC |