in reply to Can't decompress zlib compression stream with Compress:Zlib
Been trying for months to get it working. Any ideas?
Yes. (And I don't often say this so emphatiocally.) LEARN TO USE STRICT AND WARNINGS IN YOUR CODE! It'll save you "trying for months"!!!
The call to Compress::Zlib->inflate at line 158 does not decompress anything for reasons unknown.
The code in line 158 is: my ($nout, $status) = $y->inflate($s->{buf}) but there is no other reference to a variable $y in the entire script.
And that is just one of the bugs strict and warnings would throw in your face help you find.
|
|---|