in reply to
Is local a declaration?
No,
local
is not equivalent to
my
for the declaration of variables. Some reading on the matter ...
What's the difference between dynamic and lexical (static) scoping? Between local() and my()?
The difference between my and local
Coping with Scoping
(off-site link)
Seven Useful Uses of Local
(off-site link)
Comment on
Re: Is local a declaration?
Select
or
Download
Code
In Section
Seekers of Perl Wisdom