Acme-JMOLLY-Utils
view release on metacpan or search on metacpan
lib/Tie/Cycle.pm view on Meta::CPAN
our $VERSION = '1.21';
use Carp qw(carp);
use constant CURSOR_COL => 0;
use constant COUNT_COL => 1;
use constant ITEM_COL => 2;
sub TIESCALAR {
my( $class, $list_ref ) = @_;
my $self = bless [], $class;
unless( $self->STORE( $list_ref ) ) {
carp "The argument to Tie::Cycle must be an array reference";
return;
}
return $self;
}
sub FETCH {
( run in 1.460 second using v1.01-cache-2.11-cpan-de7293f3b23 )