I define global variables in a package (e.g. $MyVars::SystemName = "chuck";). It may only be used in THIS program once, but several other programs need that value. True, modifying it wouldn't be the end of the world, but that could lead to unforeseen problems later if you do something you don't have to. The risk is minimal, but not still there.
--Chuck > -----Original Message----- > From: Daniel Gardner [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 21, 2001 12:42 PM > To: Tomasi, Chuck > Cc: '[EMAIL PROTECTED]' > Subject: Re[2]: Getting past "Use of uninitialized value..." > > > Wednesday, November 21, 2001, 6:35:46 PM, Tomasi, Chuck wrote: > > TC> I hate those. I usually end up creating a log file (or > stderr in the case > TC> of web apps) and just print them out to use them again. > Nice debugging, but > TC> needless in some cases. > > TC> If you figure a good way use the variable more than once > without affecting > TC> the value, I'd like to hear it. > > i'm interested - why do you need the variables if you're only using > them once... and what does it matter if you change the value if you're > never going to look at it again? > > > > -- > Best regards, > Daniel mailto:[EMAIL PROTECTED] > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
