Log::Parallel::Sql::Numbers - force values to be numbers
use Log::Parallel::Sql::Numbers; $integer = integer($scalar, $default) $float = float($scalar, $default)
These simple functions make sure that a scalar is in fact a number. Non-numbers, including nan will be turned into the default.
nan
This is useful if you want to hand an unknown value to a database.
This package may be used and redistributed under the terms of either the Artistic 2.0 or LGPL 2.1 license.
To install Log::Parallel, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Log::Parallel
CPAN shell
perl -MCPAN -e shell install Log::Parallel
For more information on module installation, please visit the detailed CPAN module installation guide.