NAME

Number::Iterator - The great new Number::Iterator!

VERSION

Version 0.01

SYNOPSIS

use Number::Iterator;

my $iter = Number::Iterator->new(interval => 50);

$iter++;

$iter--;

$iter->iterate;

$iter->deiterate;

$iter->value;

$iter->interval;

...

	my $iter = Number::Iterator->new(
		interval => 50,
		iterate => sub {
			my ($self) = @_;
			($self->{value} ||= 1) *= $self->{interval};
		},
		deiterate => sub {
			my ($self) = @_;
                	$self->{value} /= $self->{interval};
		}
	);

AUTHOR

lnation, <email at lnation.org>

BUGS

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

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Number::Iterator

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

This software is Copyright (c) 2024 by lnation.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)