NAME
Handel::Constants - Common constants used in Handel
VERSION
$Id: Constants.pm 53 2004-12-31 23:13:51Z claco $
SYNOPSIS
use Handel::Constants qw(:cart);
my $cart = Handel::Cart->new({
shopper => 'D597DEED-5B9F-11D1-8DD2-00AA004ABD5E'
});
if ($cart->type == CART_TYPE_SAVED) {
print 'This cart is saved!';
};
DESCRIPTION
Handel::Constants
contains a set of constants used throughout Handel
. It may be useful (or even a good idea) to use these in your code. :-)
By default, Handel::Constants
export nothing
. Use can use the export tags below to export all or only certain groups of constants.
CONSTANTS
CART_MODE_APPEND
CART_MODE_MERGE
CART_MODE_REPLACE
CART_TYPE_SAVED
CART_TYPE_TEMP
EXPORT_TAGS
The following %EXPORT_TAGS
are defined for Handel::Constants
. See Exporter for further details on using export tags.
:all
This exports all constants found in this module.
:cart
This exports all CART_*
constants in this module.
AUTHOR
Christopher H. Laco
CPAN ID: CLACO
cpan@chrislaco.com
http://today.icantfocus.com/blog/