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 Test-Simp
current Test::Harness sets switches to '', not '-w' as documented.
--
Tatsuhiko Miyagawa <[EMAIL PROTECTED]>
--- lib/Test/Harness/Straps.pm~ Thu Jun 20 06:01:04 2002
+++ lib/Test/Harness/Straps.pm Thu Aug 22 21:27:27 2002
@@ -322,7 +322,7 @@
local *TEST;
open(TEST, $file) or print "ca
On Tue, 20 Aug 2002, Michael G Schwern wrote:
> +=head2 Other Handy Functions
> +
> +=over 4
> +
> +=item prompt
> +
> +my $value = prompt($message);
> +my $value = prompt($message, $default);
> +
> +The C function provides an easy way to request user input
> +used to write a makefile. I