Tie::BoundedInteger - Limit the magnitude of a number in a scalar
use v5.10.1; use Tie::BoundedInteger; tie my $bounded, 'Tie::BoundedInteger', $min, $max;
You use Tie::BoundedInteger limits the magnitude of a scalar by using the tie mechanism.
Tie::BoundedInteger
tie
This module is on Github:
https://github.com/briandfoy/tie-boundedinteger
brian d foy, <bdfoy@cpan.org>
<bdfoy@cpan.org>
Copyright 2005-2013, brian d foy, All rights reserved
This software is available under the same terms as perl.
To install Tie::BoundedInteger, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tie::BoundedInteger
CPAN shell
perl -MCPAN -e shell install Tie::BoundedInteger
For more information on module installation, please visit the detailed CPAN module installation guide.