Google::RestApi logger_init.pl - Conditionally initialize log4perl.
This does a conditional load of log4perl and if not found, stubs out the logger calls. it should be called with a 'do' so that the code executes in the caller's package.
This should allow you to run the API with or without log4perl installed.
To install Google::RestApi, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Google::RestApi
CPAN shell
perl -MCPAN -e shell install Google::RestApi
For more information on module installation, please visit the detailed CPAN module installation guide.