NAME

Net::Delicious::Iterator - iterator class for Net::Delicious thingies

SYNOPSIS

use Net::Delicious::Iterator;

my @dates = ({...},{...});
my $it    = Net::Delicious::Iterator->new("Date",\@dates);

while (my $d = $it->next()) {

   # Do stuff with $d here
}

DESCRIPTION

Iterator class for Net::Delicious thingies

NOTES

It isn't really expected that you will instantiate these objects outside of Net::Delicious itself.

PACKAGE METHODS

__PACKAGE__->new($foreign_class,\@data)

Returns a Net::Delicious::Iterator object. Woot!

$it->count()

Return the number of available thingies.

$it->next()

Returns the next object in the list of available thingies. Woot!

VERSION

0.1

DATE

$Date: 2005/04/05 15:56:50 $

AUTHOR

Aaron Straup Cope <ascope@cpan.org>

SEE ALSO

Net::Delicious

LICENSE

Copyright (c) 2004-2005 Aaron Straup Cope. All rights reserved.

This is free software, you may use it and distribute it under the same terms as Perl itself.