programming-examples/perl/Subroutine/The return values of the ref function- hash.pl
2019-11-15 12:59:38 +01:00

7 lines
114 B
Perl

#!/usr/bin/perl
use strict;
my %hash = ( key => "data" );
print( 'ref(\%hash) = ', ref( \%hash ), "\n" );