Hub::Perl::Language is Perl module that contains lot of methods.
PUBLIC METHODS
sizeof
Integer size of hashes, arrays, and scalars
Usage: sizeof %hash
Usage: sizeof @array
Usage: sizeof $scalar_ref
Usage: sizeof $scalar
Usage: sizeof %more, @than, $one
Sizes are computed as follows:
HASH Number of keys in the hash
ARRAY Number of elements
SCALAR Length as returned by C
The total size of all arguments is returned.
Example: Hash: (matches)
sizeof( a=>1, b=>2, c=>3 );
3
Example: Array: (matches)
sizeof( a1, b2, c3 );
3
Example: Scalar: (matches)
sizeof( "abc" );
3
Example: Scalar (ref): (matches)
sizeof( "abc" );
3
Example: Nothing: (matches)
sizeof( undef );
0
Example: Multiple values: (matches)
sizeof( "a", "b", "c" );
3
check
True if all items in list pass the test.
Usage: check , , LIST |