From: "Paul Marquess" <Paul.Marquess@ntlworld.com>
Message-Id: <
20050611212234.UGOL29707.aamta11-winn.ispmail.ntl.com@MARQUESSPT21>
p4raw-id: //depot/perl@24805
ParseCONFIG() ;
my @files = ('Zlib.pm', glob("t/*.t"), grep(!/\.bak$/, glob("examples/*"))) ;
-UpDowngrade(@files);
+UpDowngrade(@files) unless $ENV{PERL_CORE};
WriteMakefile(
NAME => 'Compress::Zlib',
{ return }
}
- unless ($ENV{PERL_CORE}) {
- foreach (@files)
- { doUpDown($our_sub, $warn_sub, $_) }
- }
+ foreach (@files)
+ { doUpDown($our_sub, $warn_sub, $_) }
warn "Up/Downgrade complete.\n" ;
exit 0 if $upgrade || $downgrade;
=head1 COMPRESS/UNCOMPRESS
Two high-level functions are provided by I<zlib> to perform in-memory
-compression. They are B<compress> and B<uncompress>. Two Perl subs are
-provided which provide similar functionality.
+compression/uncompression of RFC1950 data streams. They are called
+B<compress> and B<uncompress>.
+
+The two Perl subs defined below provide the equivalent
+functionality.
=over 5
=back
+Please note: the two functions defined above are I<not> compatible with
+the Unix commands of the same name.
+
=head1 GZIP INTERFACE
A number of functions are supplied in I<zlib> for reading and writing
{
my $ver = Compress::Zlib::zlib_version();
- print "ver $ver\n";
if (defined $ver && $ver =~ /^(\d+)\.(\d+)\.(\d+)/ )
{
my $sum = $1 * 1000000 + $2 * 1000 + $3 ;
ok(10, $uncompressed eq $input ) ;
ok(11, ! $k->gzclose ) ;
+ unlink $name ;
}