IO::Uncompress::AnyInflate will gunzip data, and has a Transparent option. The option is useful as you can select if you want non-gzipped data to just pass through and be returned as if it was the uncompressed result, or if you want it to throw an error.
In reply to Re: How to test if a file is gzipped or not
by sectokia
in thread How to test if a file is gzipped or not
by Special_K
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |