Catmandu::IdGenerator::Mock3pm
Generator of increasing identifiers
Usage
use Catmandu::IdGenerator::Mock;my $x = Catmandu::IdGenerator::Mock->new(first_id => 10);for (1..100) {printf "id: %s\n" m $x->generate;}
Configuration
- first_id
-
First number to start from. Set to
0by default (zero-based numbering).
Releases
5 releases since Debian 9 (Stretch); the text changed 4 times.