You may wish to read these nodes: Context in Perl
HTH,
In reply to Re: Difference between my ($foo) & my $foo by planetscape in thread Difference between my ($foo) & my $foo by sandy1028