If your instances are carrying around a reference to %config, excuting change_config overwrites %config. Objects may still be carrrying around a reference to the old %config.
The code you posted doesn't seem to have this problem, though.
--Bob Niederman, http://bob-n.com
All code given here is UNTESTED unless otherwise stated.
In reply to Re: Changing package variable via object-instance
by bobn
in thread Changing package variable via object-instance
by BioHazard
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |