Re: Changing package variable via object-instanceby BioHazard (Pilgrim)
|on Aug 25, 2003 at 19:20 UTC||Need Help??|
Thanks for the quick replies. There's a mistake in the constructor in line 10. Must be $proto and not $package.
The code I posted is not the code of my complex program. It is an equivalent piece that is in a symanticly point of view the same. I now tested it and it did not work. I changed flattening into references and it presented the same results to me: I changed the first line of config.cfg to option1=HASBEENCHANGED while sleep(15).
option1=value1 option2=value2 option3=value3Output:
KEY: option1 VALUE: value1 KEY: option2 VALUE: value2 KEY: option3 VALUE: value3 KEY: option1 VALUE: value1 KEY: option2 VALUE: value2 KEY: option3 VALUE: value3BioHazard
reading between the lines is my real pleasure