Stefan Hornburg (Racke) > Template-Flute-0.0052 > Template::Flute::Increment

Download:
Template-Flute-0.0052.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: Template-Flute-0.0140

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-2012 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.

syntax highlighting: