> > Doesn't C<our> give you this? > > Not really. A variable declared with <our> can be accessed from > anywhere in the program, just by redeclaring it or calling it with > the "package::" syntax. A variable declared with <my> can be > accessed outside its scope only if the user returns a reference > to it. A static variable should be like a <my> variable except > that it is only initialized once and is not destroyed when it goes > out of scope.
Better to make it a my() with an accessor, and have everything use the accessor... but it *does* slow things down. __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com