The return values of the ref function: 10 : ref « Data Type « Perl






The return values of the ref function: 10

      

#!/usr/bin/perl

use strict;

print( 'ref(10) = ', ref( 10 ), "\n" );   # undefined

   
    
    
    
    
    
  








Related examples in the same category

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