in reply to Class::Std problem
If you want to use eq, you should overload stringification ('""') or comparison (cmp). See overload for details.
Another approach would be to implement an equals method, and check if( $manager1->equals( $manager2 ) ).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Class::Std problem
by herveus (Prior) on Dec 21, 2006 at 12:23 UTC | |
by Herkum (Parson) on Dec 21, 2006 at 13:20 UTC |