Welcome to the Monastery | |
PerlMonks |
Re: How to test if a file is gzipped or notby sectokia (Pilgrim) |
on Jun 17, 2024 at 23:25 UTC ( [id://11160047]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|