INSTALL - How to install Business::Shipping
Be sure to read the "GETTING STARTED" section of the README, because some services (e.g. online tracking requests) require that the user signup for a username and password.
If you would like to use UPS and USPS, install Bundle::Business::Shipping. However, you may opt instead to install the required modules for only one:
Bundle::Business::Shipping
Bundle::Business::Shipping::UPS_Offline
Bundle::Business::Shipping::UPS_Online
Bundle::Business::Shipping::USPS_Online
Note that the XML::DOM uses XML::Parser, and XML::Parser uses Expat. Therefore, you may need to install Expat before XML::Parser will install.
All shippers:
perl -MCPAN -e 'install Bundle::Business::Shipping'
UPS_Online only:
perl -MCPAN -e 'install Bundle::Business::Shipping::UPS_Offline'
UPS_Offline only:
USPS_Online only:
perl -MCPAN -e 'install Bundle::Business::Shipping::USPS_Online'
Be sure to install all required modules before installing. After unpacking the tarball, execute the following:
perl Makefile.PL [--use_defaults=<1|0>] make make test make install
Each Bundle lists the required modules for each shipper type. Here is the combined list for all shippers:
Business::Shipping::DataFiles (any) CHI (0.39) Any::Moose (any) Config::IniFiles (any) Crypt::SSLeay (any) Getopt::Mixed (any) Log::Log4perl (any) LWP::UserAgent (any) XML::DOM (any) XML::Simple (2.05)
To install Business::Shipping, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Business::Shipping
CPAN shell
perl -MCPAN -e shell install Business::Shipping
For more information on module installation, please visit the detailed CPAN module installation guide.