[boulder.pm] perl read .gz?
Robert L. Harris
Robert.L.Harris at rnd-consulting.com
Thu Jun 8 16:52:15 CDT 2000
Is there a perl module to let me read a .gz or .Z file as if it was
plain text? I'm currently doing a:
open(INFILE, "gunzip -c file.gz |");
while(<INFILE>) {
#stuff
}
:wq!
---------------------------------------------------------------------------
Robert L. Harris | Micros~1 :
Senior System Engineer | For when quality, reliability
at RnD Consulting | and security just aren't
\_ that important!
DISCLAIMER:
These are MY OPINIONS ALONE. I speak for no-one else.
FYI:
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
More information about the Boulder-pm
mailing list