| NetSDS::Util::Types(3pm) | User Contributed Perl Documentation | NetSDS::Util::Types(3pm) |
NetSDS::Util::Types - type checking routines
use NetSDS::Util::Types;
# Check if variable contains integer value
if (is_int($var)) {
$var++;
} else {
print "Value is not integer!";
}
"NetSDS::Util::Types" module contains functions for checking data for being of exact data types.
my $var = 'Scalar string';
if (is_ref_scalar(\$var)) {
print "It's scalar value";
}
None
None
Add more functions.
None.
Valentyn Solomko <pere@pere.org.ua>
Michael Bochkaryov <misha@rattler.kiev.ua>
| 2019-02-22 | perl v5.28.1 |