[JOB] Perl Software Developer and Database programmer
Jonathan McKeown
jonathan at hst.org.za
Wed Feb 22 14:06:25 GMT 2006
On Wednesday 22 February 2006 15:23, Lusercop wrote:
> Wow, you still exist! When are you coming back to London?
Back for a Christmas visit this year. Since Christmas is the long summer
holiday here, I'm hoping to be over for a while: certainly long enough to
attend (or possibly cause!) a social.
> I don't like the use of the magic variables either in production code.
>
> If it's not a magic variable, the question is more, what is this global
> variable doing in the first place, that it needs localising?
True - but as long as magic variables are global, you do need local, and you
never know when else you might need it: one should probably also know why one
probably won't need it.
There's an old joke about a rockstar going to buy a Rolls-Royce: he queries
the presence of a toolkit in the boot, saying, "I thought you told me this
thing was reliable". The salesman's response:
"Do you have nipples, Sir?"
"Yes."
"And are you ever likely to breast-feed?"
"Don't be stupid."
"Quite, Sir: but they *are* there - Just In Case."
local is there Just In Case.
Jonathan
More information about the london.pm
mailing list