Hi Monks,
I'm seeking your wisdom. I'm looking for a way to open a file on the web without having to store it locally and use it similar to a filehandle.
E.g. something like (pseudo-code)
use WWW::Mechanize;
my $mech = WWW::Mechanize->new();
$mech->get($url);
my $file_content = $mech->content()
while(<$file_content>){
# do something
}
As far as I know mechanize dies when the file isn't an html file. Additionally, I'm not sure if I can use the string returned in a filehandle way
Please enlighten me, someone.
Lowry