http://www.perlmonks.org?node_id=1014143


in reply to Re^2: variable declaration question
in thread variable declaration question

Try:
print(my $foo = ('a', 'b', 'c'), "\n");
vs:
my @foo = ('a', 'b', 'c'); my $bar = @foo; print $bar, "\n";
I like using letters vs numbers to avoid confusion...