NAME
String::Incremental::String
SYNOPSIS
use String::Incremental::String;
my $str = String::Incremental::String->new(
format => '%04s',
value => sub { (localtime)[5] - 100 },
);
print "$str"; # -> '0014'
DESCRIPTION
String::Incremental::String is ...
CONSTRUCTORS
METHODS
- as_string() : Str
-
returns "current" string.
following two variables are equivalent:
my $a = $str->as_string(); my $b = "$str";
LICENSE
Copyright (C) issm.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR
issm <issmxx@gmail.com>