Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: To initialise or not to initialise?

by dragonchild (Archbishop)
on Jun 24, 2004 at 18:11 UTC ( #369437=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://369437]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2021-10-24 16:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (89 votes). Check out past polls.

    Notices?