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;
In reply to Re: ask about array and hash
by TStanley
in thread ask about array and hash
by agustina_s
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |