Its only silly because you should search CPAN.
http://search.cpan.org/~softdia/Tie-Gzip-0.06/lib/Tie/Gzip.pm
You can try the LWP libraries for more sophisticated http related options that you can then couple with the gzip library.

Good luck.
Mehmet Yilmaz
GSIPT
Chief Software Engineer

On 11/2/06, J. Scott Olsson <[EMAIL PROTECTED] > wrote:
You can open pipes in perl. So something like

open(FILE, "wget myurl | gunzip -c|") or die "a most painful death\n";
while($l = <FILE>){
   ...
}

should work.

pax,
Scott


On 11/2/06, David Zakar < [EMAIL PROTECTED]> wrote:
I've been Googling all day for this, but can't seem to find an answer.

I have a gzipped text file on a web server. Using another machine, how
can I open that text file and read it line by line with Perl? SSH is
not an option - it has to be over http.

-DMZ


Reply via email to