Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Changing package variable via object-instance

by bobn (Chaplain)
on Aug 25, 2003 at 18:14 UTC ( [id://286442]=note: print w/replies, xml ) Need Help??


in reply to Changing package variable via object-instance

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://286442]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-03-29 07:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found