Return Values from the ref Function : ref « Data Type « Perl






Return Values from the ref Function

    
What Is Returned       Meaning
REF                    Pointer to pointer
SCALAR                 Pointer to scalar
ARRAY                  Pointer to array
HASH                   Pointer to hash
CODE                   Pointer to subroutine
GLOB                   Pointer to typeglob

   
    
    
    
  








Related examples in the same category

1.Using ref function on a subroutine reference
2.Using ref function to check the parameter type
3.Using ref function to get the type of the reference
4.Using ref inside a function
5.The return values of the ref function: ref( \\@array )
6.The return values of the ref function: function
7.The return values of the ref function: ref( \*hash )
8.The return values of the ref function: 10
9.The return values of the ref function: array