| HTML-Template-Plugin-Dot-Helpers documentation | Contained in the HTML-Template-Plugin-Dot-Helpers distribution. |
HTML::Template::Plugin::Dot::Helpers::Number - Number formatting and comparison functions
See Number::Format for formatting functions
HTML::Template::Plugin::Dot::Helpers for detailed help, license, and contact information.
| HTML-Template-Plugin-Dot-Helpers documentation | Contained in the HTML-Template-Plugin-Dot-Helpers distribution. |
package HTML::Template::Plugin::Dot::Helpers::Number; use strict; use warnings; use base qw/Number::Format/; our $VERSION = 0.01; sub equals { return $_[1] == $_[2]; } sub le { return $_[1] <= $_[2]; } sub lt { return $_[1] < $_[2]; } sub ge { return $_[1] >= $_[2]; } sub gt { return $_[1] > $_[2]; } 1;