Wednesday, December 5, 2007

PerlIO-GZip Is Broken

Found a problem with PerlIO-GZip module (v0.17) with ActiveState Perl 5.8.4 + Win2K, apparent it doesn't gunzip a compressed file properly. At first, I suspected a bad gzip file. But the files, extracted using Winzip and GNUWin32 gunzip, are good, so I believe this is a problem with the module.

I will investigate a little more and send the artifacts once I am done with the eDoc scripts.

Currently I extract the files using GNUWin32 gunzip utility and pass the content to STDOUT for parsing.
gunzip.exe -c CompressedFile.gz

No comments: