> On Thu, 2004-02-12 at 19:37, Chris Devers wrote: > > I assume you tried CPAN?=20 > > First hit is PerlIO::gzip, which looks promising... > > Yes, I skimmed over that one. However I'm trying to find a way to do it > without using files, which PerlIO::gzip seems to be doing.
Yes, it does use files, but newish perls support the concept of in-memory files. So the PerlIO::gzip example becomes: use PerlIO::gzip; my $string; open FOO, ">:gzip", \$string or die $!; print FOO 'blah blah blah'; close FOO; print $string; #careful, this may mess up your terminal! -Gyepi _______________________________________________ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm