in reply to Re^2: To initialise or not to initialise?
in thread To initialise or not to initialise?
Those aren't globals. Those are static class members. That they are implemented as a package global is completely and utterly irrelevant. The same goes for any other CS construct you can think of that in Perl is implemented as a package- or file-scoped global. Truly global variables are good for three things only:
- Hacking a one-off
- Prototyping
- Demonstrating how p00r yur skillz R
------
We are the carpenters and bricklayers of the Information Age.
Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose
I shouldn't have to say this, but any code, unless otherwise stated, is untested
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: To initialise or not to initialise?
by skyknight (Hermit) on Jun 24, 2004 at 18:14 UTC |
In Section
Seekers of Perl Wisdom