in reply to difference between @, $
givesuse Data::Dumper; my @a = ['1','2','3','4']; my $a = ['1','2','3','4']; print Dumper(\@a); print Dumper($a);
illustrating the difference quite nicely.$VAR1 = [ [ '1', '2', '3', '4' ] ]; $VAR1 = [ '1', '2', '3', '4' ];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: difference between @, $
by johngg (Canon) on Dec 07, 2011 at 18:12 UTC |