NAME

Handel::Iterator - Iterator class used for collection looping

VERSION

$Id: Iterator.pm 20 2004-12-30 05:06:44Z claco $

SYNOPSIS

use Handel::Cart;

my $cart = Handel::Cart->new({
    shopper => 'D597DEED-5B9F-11D1-8DD2-00AA004ABD5E'
});

my $iterator = $cart->items;
while (my $item = $iterator->next) {
    print $item->sku;
    print $item->price;
    print $item->total;
};

DESCRIPTION

Handel::Iterator is used internally by Handel::Cart to iterate through collections of carts and cart items. At this point, there should be no reason to use it directly.

SEE ALSO

Handel::Cart

AUTHOR

Christopher H. Laco
CPAN ID: CLACO
cpan@chrislaco.com
http://today.icantfocus.com/blog/