> Unless is was used in module you called, or the previous iteration of the loop, or call to sub, or ...
...which describes "already initialized".
UPDATE:
IMHO your intention is to control the scope of a variable.
my is only one mean to achieve this, our, state, local are others.
| [reply] [d/l] [select] |
.which describes "already initialized".
In which case you need to reinitilise them.
IMHO your intention is to control the scope of a variable.
You're telling me what my [sic] intent was?
My intent was to state that initialisation to undef is unnecessary when you use my. Nothing more and nothing less.
As for you "scoping" missive:
But quite why you feel the need to tell me (wrongly) about these things I don't understand, because I'm pretty sure that you're aware that I know they exist, and what they do. And they have no bearing on what I said.
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
| [reply] |
My intention is to have a consistent terminology,
It doesn't worth it discussing things if everyone has his own vocabulary.
Talking about our, state, local I disagree. The term "scope" can be characterized as dynamic OR static, it has compilation and runtime aspects.
Just grep thru the perldocs.
But since we both exactly know how they work I'll quit this discussion.
PS: maybe worth a look http://perldoc.perl.org/perlglossary.html
| [reply] [d/l] |