Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Global variable vs passing variable from sub to sub

by pelagic (Curate)
on Sep 13, 2004 at 19:37 UTC ( #390647=note: print w/ replies, xml ) Need Help??


in reply to Global variable vs passing variable from sub to sub

A object oriented solution is IMHO the best solution for global variables. If you want to dive into this topic I suggest to read brian d foys review of singleton design patterns.

pelagic
  • Comment on Re: Global variable vs passing variable from sub to sub

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2016-06-25 23:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (327 votes). Check out past polls.