Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Better way to define global variables

by davies (Vicar)
on Jul 25, 2013 at 14:28 UTC ( #1046355=note: print w/ replies, xml ) Need Help??


in reply to Better way to define global variables

If you are using global variables, this can cause problems unless you're sure what you are doing. I frequently do for things that genuinely are global, like an instance of Excel, but almost always I want them to be WORMs (write once, read many). When I ran into a similar problem, BrowserUK gave me some very helpful advice at Re^7: Strict isn't strict enough. I don't know how much use the rest of the thread will be to you, but tobyink's suggestion at Re^2: Strict isn't strict enough (stop it) and Tye's at Re^3: Strict isn't strict enough (stop it) might also be relevant to your situation.

Regards,

John Davies


Comment on Re: Better way to define global variables

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (10)
As of 2015-07-02 06:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (29 votes), past polls