C
cisono
Hi,
Can anyone shed some light on this?!?!
I have created object 1 of class X. This object gets passed to a
method. At first, everything is OK.
However, as soon as I create another object (object 2) of class X (in
that same method):
- all the fields in object 1 "lose their values".
- object 1 still knows that it is an object of class X
Any idea why this would happen?
- Of course, the two objects have different variable names... (!)
- The class itself is declared in their own .pm file and it is properly
blessed (as far as I can tell).
cisono.
Can anyone shed some light on this?!?!
I have created object 1 of class X. This object gets passed to a
method. At first, everything is OK.
However, as soon as I create another object (object 2) of class X (in
that same method):
- all the fields in object 1 "lose their values".
- object 1 still knows that it is an object of class X
Any idea why this would happen?
- Of course, the two objects have different variable names... (!)
- The class itself is declared in their own .pm file and it is properly
blessed (as far as I can tell).
cisono.