in reply to How to test if a file is gzipped or not
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to test if a file is gzipped or not
by soonix (Chancellor) on Jun 18, 2024 at 07:35 UTC |