Scalar::Util - Utility for scalar values
Scalar::Util is a module that collects utilities related to scalar values.
# Using Scalar::Util use Scalar::Util 'looks_like_number';
Numerical functions
Use looks_like_number to determine if it is a number.
# Judgment of whether it is a numerical value $is_number = looks_like_number($num);
Other Scalar::Util functions
Introducing other functions of Scalar::Util.
| * Function name | *meaning | 
| blessed | Find out if an object is breathed | 
| refaddr | Returns the reference memory address | 
| reftype | Returns the type of reference | 
| weaken | Make the reference a weak reference | 
| unweaken | Return reference to normal reference | 
| isweak | Find out if the reference is a weak reference | 
| looks_like_number | Whether it looks like a number | 
Scalar::Util documentation for more information on Scalar::Util functions Please see a>.
 Perl ABC
Perl ABC