I've got a situation and I'm trying to find the right code for it that strict pragma will agree with.
Firstly I have a scalar that will contain either a value or a reference to an array. If it's an array I want it to do one thing. If it's a scalar value I want it to do another. What's the correct way of doing this so I don't get errors?
Secondly How can a make a global variable truely global, so that it will be accessible by all packages without using package::variable.