> I guess other ones to look at would be for modules: > > our $VERSION : unique; > our @ISA : unique; > our @EXPORT : unique; > our @EXPORT_OK : unique; > > etc.... It wouldn't save much, but every little bit helps, > specifically in > a mod_perl environment...
This seems to imply that every existing module should have modifications made to make it "well behaved" in a threaded environment. Question: does :unique imply :shared so that these changes require variable locking? In which case modules should _not_ have these changes made? Oh, wait, does unique even do anything if use threads; hasn't been invoked? This is really off the wall...but if Perl has a "constant" mechanism (and it probably does somewhere I don't know about ;) then it might make sense for all constants to automagically be unique. mma
