NAME

Business::Shipping::RateRequest::Offline - Abstract class for cost calculation.

VERSION

$Rev: 189 $ $Date: 2004-09-18 21:16:10 -0700 (Sat, 18 Sep 2004) $

DESCRIPTION

This doesn't have very much to it. It just disables the cache feature, and has a few miscellaneous functions.

METHODS

  • perform_action()

    For compatibility with parent class

  • cache()

    Cache always disabled for Offline lookups: they are so fast already, the disk I/O of a running a cache is not worth it.

  • make_three( $zip )

    $zip   Input to shorten/lengthen.  Usually a zip code.

    Shorten to three digits. If the input doesn't have leading zeros, add them.

AUTHOR

Dan Browning <db@kavod.com>, Kavod Technologies, http://www.kavod.com.

COPYRIGHT AND LICENCE

Copyright (c) 2003-2004 Kavod Technologies, Dan Browning. All rights reserved. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself. See LICENSE for more info.