in reply to Re^4: Perl Style: Is initializing variables considered taboo?
in thread Perl Style: Is initializing variables considered taboo?
.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:
If you localise a var, but then call some sub or method that uses it without localising it, you get screwed over.
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Perl Style: Is initializing variables considered taboo?
by LanX (Saint) on Aug 21, 2010 at 17:16 UTC | |
by BrowserUk (Patriarch) on Aug 21, 2010 at 17:37 UTC | |
by LanX (Saint) on Aug 21, 2010 at 17:48 UTC |