http://www.perlmonks.org?node_id=11160062


in reply to Re: How to test if a file is gzipped or not
in thread How to test if a file is gzipped or not

TIL IO::Uncompress::AnyInflate exists.

I don't know if it's important for Special_K, but I read under "Transparent":
In addition, if the input file/buffer does contain compressed data and there is non-compressed data immediately following it, setting this option will make this module treat the whole file/buffer as a single data stream.
This might pose a security risk, if one isn't aware of it.
  • Comment on Re^2: How to test if a file is gzipped or not