Business::UPS::Tracking::Role::Base - Helper role
This role provides accessors for the UPS webservice credentials. The credentials can be provided when constructing a new object, or optionally stored in a configuration file.
UPS tracking service access license number
UPS account username
UPS account password
Optionally you can retrieve all or some UPS webservice credentials from a configuration file. This accessor holds the path to this file. Defaults to ~/.ups_tracking
~/.ups_tracking
Example configuration file:
<?xml version="1.0"?> <UPS_tracing_webservice_config> <AccessLicenseNumber>1CFFED5A5E91B17</AccessLicenseNumber> <UserId>myupsuser</UserId> <Password>secret</Password> </UPS_tracing_webservice_config>
To install Business::UPS::Tracking, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Business::UPS::Tracking
CPAN shell
perl -MCPAN -e shell install Business::UPS::Tracking
For more information on module installation, please visit the detailed CPAN module installation guide.