in reply to Re: Class::Std problem
in thread Class::Std problem
I take the question to be "how do I fix my 'new' so the code snipped works right?" If new({ id => 1 }) returns the same thing each time, the comparison should work fine. The trick is to get 'new' to not only construct one object for each distinct value of id that it sees.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Class::Std problem
by Herkum (Parson) on Dec 21, 2006 at 13:20 UTC |