Perform an address lookup on the CLI paassed parameter - assumes $ENV{GOOGLE_MAPS_KEY}
perl geocoding_api.pl 'Short Street, Southport, QLD 4215 Australia'
Setup a Google Project in the Google Console and add the Translate API Library.
An API Key is required with permission to access the GeoCode API and if required the Places API.
To install WebService::GoogleAPI::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::GoogleAPI::Client
CPAN shell
perl -MCPAN -e shell install WebService::GoogleAPI::Client
For more information on module installation, please visit the detailed CPAN module installation guide.