Business::UPS::Tracking::Commandline - Commandline interface to UPS tracking
my $commandline = Business::UPS::Tracking::Commandline->new_with_options; # Params are taken from @ARGV $commandline->execute;
This class allows Business::UPS::Tracking being called from a commandline script using MooseX::Getopt. (See ups_tracking)
All accessors from Business::UPS::Tracking::Request
Be verbose
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_tracking_webservice_config> <AccessLicenseNumber>1CFFED5A5E91B17</AccessLicenseNumber> <UserId>myupsuser</UserId> <Password>secret</Password> </UPS_tracking_webservice_config>
$commandline->execute;
Performs a UPS webservice query/request.
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.