http://www.perlmonks.org?node_id=369437


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:
  1. Hacking a one-off
  2. Prototyping
  3. 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

  • Comment on Re^3: To initialise or not to initialise?

Replies are listed 'Best First'.
Re^4: To initialise or not to initialise?
by skyknight (Hermit) on Jun 24, 2004 at 18:14 UTC
    Well clearly we are in fundamental agreement. At this point we are just arguing linguistic semantics.