NAME

Tie::BoundedInteger - Limit the magnitude of a number in a scalar

SYNOPSIS

use v5.10.1;
use Tie::BoundedInteger;

tie my $bounded, 'Tie::BoundedInteger', $min, $max;

DESCRIPTION

You use Tie::BoundedInteger limits the magnitude of a scalar by using the tie mechanism.

SOURCE AVAILABILITY

This module is on Github:

https://github.com/briandfoy/tie-boundedinteger

AUTHOR

brian d foy, <bdfoy@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2005-2013, brian d foy, All rights reserved

This software is available under the same terms as perl.