in reply to Re: To initialise or not to initialise?
in thread To initialise or not to initialise?
Oh - and I don't have global variables. Just having them is a sign of logical weakness, initialized or not.
Eh, we should be careful how we define "globals" when making such statements. Indeed in strictly procedural programs it is foolish and unnecessary to have global variables. However, what about package globals? Having in Perl what would be denoted in other languages as a "static class member" is not an unreasonable thing to do, and is often in my experience necessary.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: To initialise or not to initialise?
by dragonchild (Archbishop) on Jun 24, 2004 at 18:11 UTC | |
by skyknight (Hermit) on Jun 24, 2004 at 18:14 UTC |
In Section
Seekers of Perl Wisdom