NAME

Template::Flute::Increment - Increment class for Template::Flute

SYNOPSIS

$increment = new Template::Flute::Increment(start => 4, increment => 2);

CONSTRUCTOR

new

Create a Template::Flute::Increment object with the following parameters:

start INT

Start value for the increment. Defaults to 1.

increment INT

Value added to the increment with each call of the increment method. Defaults to 1.

METHODS

value

Returns current value of the increment.

increment

Applies increment to value of the increment.

AUTHOR

Stefan Hornburg (Racke), <racke@linuxia.de>

LICENSE AND COPYRIGHT

Copyright 2010-2016 Stefan Hornburg (Racke) <racke@linuxia.de>.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.