in reply to Re: Re: scoping across parent/child relationship
in thread scoping across parent/child relationship
Sorry but thats not a good reason. Pass them by reference, or in a hash, or even create an object that bundles them all together into a nice package.
Globals vars are evil without very very good justification. There is almost always an easier and safer way to do things.
Almost the only time I use them is for things like a $Debug variable in a package.
OTOH, its your code.... :-)
Yves
--
You are not ready to use symrefs unless you already know why they are bad. -- tadmc (CLPM)