in reply to Difference between my ($foo) & my $foo
You may wish to read these nodes: Context in Perl
HTH,