On 5 May 2010 17:29, Harry Putnam <rea...@newsguy.com> wrote:
> Anyway, I understood he was saying NOT global.
>
> What I asked is why that would matter.  That is, the values or
> elements in @_ arrive inside the `sub dispt {...}', so should be
> available to anything inside `sub dispt {...}'  right?
>
> And `%hash = (...)' is inside `sub dispt {. %hash = (...)..}'
>
> I do get confused often about how scope works.

Did you read the second part of my message where I addressed this very
issue? You haven't quoted it or answered it so I have nothing to say
other than to ask you to read it again and tell me what you still find
confusing.

Phil

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to