in reply to ask about array and hash
The above prints out "abcdefg". What you are doing is effectively de-referencing the variable. You might also want to read up on perlref#!perl -w use strict; my @array = qw(a b c d e f g); my $ref = \@array; print @$ref;
|
---|