in reply to how to open a data file via http
another option, open a scalar as a filehandle:
use LWP::Simple; my $data = get('http://www.jaywil.com/libsearch/SAMPLE.TXT'); open DATAFILE, '<', \$data; while (<DATAFILE>) { print $_; }
|
---|
In Section
Seekers of Perl Wisdom