Re: [PATCH] Test::Builder holds object inside

2002-08-26 Thread Michael G Schwern
On Thu, Aug 22, 2002 at 10:29:25PM +0900, Tatsuhiko Miyagawa wrote: Here's a patch for Test::(Simple|More) to allow idioms like my $obj = Foo-new; ok($obj, 'object is defined'); Without this patch, passed $obj was referenced in Test::Builder, so REFCNT doesn't come to 0 before global

Re: [PATCH] Test::Builder holds object inside

2002-08-26 Thread Michael G Schwern
On Thu, Aug 22, 2002 at 10:29:25PM +0900, Tatsuhiko Miyagawa wrote: Here's a patch for Test::(Simple|More) to allow idioms like my $obj = Foo-new; ok($obj, 'object is defined'); Without this patch, passed $obj was referenced in Test::Builder, so REFCNT doesn't come to 0 before global

[PATCH] Test::Builder holds object inside

2002-08-22 Thread Tatsuhiko Miyagawa
Here's a patch for Test::(Simple|More) to allow idioms like my $obj = Foo-new; ok($obj, 'object is defined'); Without this patch, passed $obj was referenced in Test::Builder, so REFCNT doesn't come to 0 before global cleanup. -- Tatsuhiko Miyagawa [EMAIL PROTECTED] diff -ruP