On Fri, Feb 28, 2003 at 11:51:07AM +0000, Adrian Howard wrote: > Option three. > > isa_ok($obj, 'MyClass'); > is_deeply($obj, { foo => 42, bar => 23 });
This is, unfortunately, shallow. It won't compare objects inside $obj.
On Fri, Feb 28, 2003 at 11:51:07AM +0000, Adrian Howard wrote: > Option three. > > isa_ok($obj, 'MyClass'); > is_deeply($obj, { foo => 42, bar => 23 });
This is, unfortunately, shallow. It won't compare objects inside $obj.