RosettaCodeData/Task/Pointers-and-references/Perl/pointers-and-references-3.pl

4 lines
119 B
Perl
Raw Permalink Normal View History

2013-04-10 23:57:08 -07:00
my $scalarref = \'a scalar';
my $arrayref = ['an', 'array'];
my $hashref = { firstkey => 'a', secondkey => 'hash' }