Use HTTP::Tiny::Mech for objects which are expecting an HTTP::Tiny object. Set the 'Accept-Encoding' header as above. See https://github.com/kentnl/HTTP-Tiny-Mech/pull/2#issuecomment-49833651 for further discussion.
To install LWP::ConsoleLogger, copy and paste the appropriate command in to your terminal.
cpanm
cpanm LWP::ConsoleLogger
CPAN shell
perl -MCPAN -e shell install LWP::ConsoleLogger
For more information on module installation, please visit the detailed CPAN module installation guide.