Re: local variabless vs my

2005-09-13 Thread Peter Scott
On Tue, 13 Sep 2005 06:09:22 -0700, Christopher Spears wrote: > I've been reading the following docs on Perl > subroutines: > > http://perldoc.perl.org/perlsub.html#Persistent-Private-Variables > > I just read the section on local variables and am > completely confused. What is a local variable?

local variabless vs my

2005-09-13 Thread Christopher Spears
I've been reading the following docs on Perl subroutines: http://perldoc.perl.org/perlsub.html#Persistent-Private-Variables I just read the section on local variables and am completely confused. What is a local variable? How is local $x different from my $x? -- To unsubscribe, e-mail: [EMAIL