Since global variables are "evil", define a structure to hold all the things you'd put in globals. Call it something clever like EverythingYoullEverNeed.
I think I have that class!
also have a member function, and variable called "New"
Were either of you guys around when we invented "Broken Source"?
Last edited by dalecosp; 12-13-2012 at 11:48 PM.
/!!\ mysql_ is deprecated --- don't use it! Tell your hosting company you will switch if they don't upgrade!/!!!\ ereg() is deprecated --- don't use it!
dalecosp "God doesn't play dice." --- Einstein "Perl is hardly a paragon of beautiful syntax." --- Weedpacket
(BTW, "red convertible"??? I hope, by that, you mean red convertible jeep.)
While I like the sentiment, it's not; cheap nearly-20 yo Mercury Capri. But at least I got the XR2. And so far, I like it well enough; just got a 5th gear swap. Looks kinda like the VAF adapter for a non-stock air filter is next. Wish I could afford a manual boost controller; I probably could afford the part, but I leave the majority of my mechanic work to the pros, and the wife's minivan is next in line for that budget cash....
/!!\ mysql_ is deprecated --- don't use it! Tell your hosting company you will switch if they don't upgrade!/!!!\ ereg() is deprecated --- don't use it!
dalecosp "God doesn't play dice." --- Einstein "Perl is hardly a paragon of beautiful syntax." --- Weedpacket
Bookmarks