Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: storing data in a package/module

by particle (Vicar)
on Oct 29, 2003 at 18:18 UTC ( #303073=note: print w/replies, xml ) Need Help??

in reply to storing data in a package/module

try use vars or our

~Particle *accelerates*

Replies are listed 'Best First'.
Re: Re: storing data in a package/module
by etcshadow (Priest) on Oct 29, 2003 at 18:33 UTC
    use vars and my are simplest. Another option that might be better in some situations (or worse in others) is to use a lexical (my) variable, and have functions that get/set/return a reference to it.

    Not an editor command: Wq

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://303073]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2017-07-21 21:26 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (335 votes). Check out past polls.