If you search for "Compress::Zlib::" in your block of code, you will find the line my $package = 'Compress::Zlib::'.
Then, if you search for where you use the $package variable in your code, you will find the previous line, plus two instances where you try to use the string 'Compress::Zlib::' variable $package as a HASHREF (%$package), which is what the error message told you.
A string is not a hashref. See perlref for some documentation.
My wife is walking for a cure for MS. Please consider supporting her.
In reply to Re: zlib error
by MidLifeXis
in thread zlib error
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |