Subject: | The doc for Compress::Zlib describes flush's arguments incorrectly |
In the synopsis, flush is called as it is called in Compress::Raw::Zlib,
with
$status = $d->flush($output [, $flush_type]) ;
Later, when describing the deflate interface, it's called with
($out, $status) = $d->flush([flush_type])
But from what I can tell, flush only wants a scalar. It should be
called with
($out, $status) = $d->flush($flush_type)