Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ainame/p5-data-sequential
Data::Sequential is a generator of some data formats. (not yet shipped)
https://github.com/ainame/p5-data-sequential
Last synced: about 2 months ago
JSON representation
Data::Sequential is a generator of some data formats. (not yet shipped)
- Host: GitHub
- URL: https://github.com/ainame/p5-data-sequential
- Owner: ainame
- License: other
- Created: 2014-01-17T00:33:41.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-18T18:55:35.000Z (almost 11 years ago)
- Last Synced: 2024-05-01T19:27:18.481Z (8 months ago)
- Language: Perl
- Homepage:
- Size: 141 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
- License: LICENSE
Awesome Lists containing this project
README
# NAME
Data::Sequential - generate sequential values of some formats
# SYNOPSIS
use Data::Sequential::Number;
my $generator = Data::Sequential::Number->new;
print $generator->current; #=> 0
print $generator->next; #=> 1
print $generator->next; #=> 2
....use Data::Sequential::Datetime;
my $generator = Data::Sequential::Datetime->new('2014-01-01 00:00:00');
print $generator->current; #=> '2014-01-01 00:00:00'
print $generator->next; #=> '2014-01-01 00:00:01'
print $generator->next; #=> '2014-01-01 00:00:02'
....use Data::Sequential::Alphabet;
my $generator = Data::Sequential::Alphabet->new('a');
print $generator->current; #=> 'a'
print $generator->next; #=> 'b'
print $generator->next; #=> 'c'
....# DESCRIPTION
Data::Sequential is a generator for sequential data.
# LICENSE
Copyright (C) ainame.
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.# AUTHOR
ainame