![]() |
|
There's more than one way to do things | |
PerlMonks |
Re: Open web-adress as filehandleby LanX (Saint) |
on Aug 18, 2014 at 08:19 UTC ( #1097812=note: print w/replies, xml ) | Need Help?? |
> 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...
In Section
Seekers of Perl Wisdom
|
|