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


in reply to Open web-adress as filehandle

> open a file on the web .... mechanize ...

As a side note, mechanize seems overkill for that task.

While not strictly core, LWP::Simple should be on most systems as dependency of the cpan client (well IMHO I didn't check yet°)

So just get("url") the $content and then open the reference \$content to a filehandle.

Cheers Rolf

(addicted to the Perl Programming Language and ☆☆☆☆ :)

°) I'm not sure anymore about the most basic "fetch from Web" mechanism of cpan-client, but LWP was one of the options my system used...