Subject: | Version 0.13 - warnings if perl started with -w |
Perl version: v5.8.5 built for i586-linux-thread-multi
CGI::WebGzip version 0.13
Operating system: SuSE Linux 9.2 (i586)
Great module. I use it in CGI script with perl commandline option '-w'. It works. One little "problem" - each time it gives one warning:
-------------------
Character in 'c' format wrapped in pack at /usr/lib/mon/perl/CGI/WebGzip.pm line 190.
-----------------------
There is no warnings if we run perl without '-w'.
In my test environment I changed line 190 to:
my $pre = pack('CCCCCCCC', 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00);
I'm not very familiar with pack/unpack, but it seems to me a 'solution'.