Changes for version 1.53

  • General
    • [Fixed] [Doc] Reference to logdie in Shipping.pm.
    • [Done] [Enh] Allow preloading of modules
      • New optional syntax: use Business::Shipping { preload => 'All' }; use Business::Shipping { preload => 'USPS_Online' };
      • Without preloading, some modules will be loaded at runtime. Normally, runtime loading is the best mode of operation. However, there are some circumstances when preloading is advantagous (see docs).
    • [Enh] Split the data into its own distribution, and add it to the bundle.
      • Business::Shipping::DataFiles - Offline cost estimation tables
      • Benefits:
        • Allows data to be updated separately from the code.
        • It changes less often
        • Update scripts can just do a CPAN install of the latest data module.
      • Issues:
        • Chicken and Egg problem. Can't install data first, because it needs Business::Shipping to know where to install. Can't install Shipping first because it needs data in order to test. Solution: Check for pre-installed Business::Shipping and use that as the default, but ask anyway (for both).
    • [Enh] Add Business::Shipping::DataTools
      • Converts shipper files into a format usable by Business::Shipping.
      • Most methods were removed from UPS_Offline::RateRequest where they were languishing.
    • [Enh] [Aesthetic] Prefix some private methods with "_".
    • [Enh] [Aesthetic] Code cleanups.
    • [Done] [Enh] Allow usage of LWP through a proxy
      • Suggested by Mark <MpoloN7@netscape.net>.
      • Uses environment variables to set the proxy settings. E.g.: http_proxy=http://proxy.my.place/ no_proxy="localhost,my.domain" export http_proxy no_proxy
    • [Done] [Enh] Provide multiple bundles (in the same distribution)
      • Bundle::Business::Shipping
      • Bundle::Business::Shipping::UPS_Offline
      • Bundle::Business::Shipping::etc.
  • All Online Modules
    • [Done] [Enh] Migrate the "retry on failure" code from the interchange usertag [business-shipping] to Business::Shipping proper. Default to tries = 2.
  • Tracking
    • [Enh] More progress on upgrade of tracking modules to C:MM 2.0.

Documentation

How to install Business::Shipping

Modules

Rates and tracking for UPS and USPS
Class attribute functions
Used by ClassAttribs
Configuration functions
Database interface
Compatibility wrapper for Logging. Depreciated.
Logging interface
Logging interface
Abstract class for shipping cost estimation
Abstract class for cost calculation.
Abstract class for shipping cost rating.
Template for new rate requests
API for tracking packages
Estimates shipping cost online
A UPS module for Tracking Packages
Calculates US Postal service rates (intl only)
Estimates shipping cost online
A USPS module for Tracking Packages
Miscellaneous functions

Provides

in lib/Business/Shipping/USPS_Online/Package.pm