The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

List::Cycle - Objects for cycling through a list of values

VERSION

Version 0.01

SYNOPSIS

    use List::Cycle;

    my $color = List::Cycle->new( '#000000', '#FAFAFA', '#BADDAD' );
    print $color->next;

FUNCTIONS

new( @values )

Creates a new cycle object, using @values.

$cycle->next

Gives the next value in the sequence.

AUTHOR

Andy Lester, <andy@petdance.com>

BUGS

Please report any bugs or feature requests to bug-list-cycle @ rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=List-Cycle. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2005 Andy Lester, All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.