develooper Front page | perl.vmsperl | Postings from December 2001

Re: [PATCH lib/ExtUtils/MM_Unix.pm] miniperl found before perl?

Thread Previous | Thread Next
From:
Michael G Schwern
Date:
December 17, 2001 21:04
Subject:
Re: [PATCH lib/ExtUtils/MM_Unix.pm] miniperl found before perl?
Message ID:
20011218050410.GB27893@blackrider
On Mon, Dec 17, 2001 at 09:48:17PM -0600, Craig A. Berry wrote:
> All tests pass with bleadperl, OVMS Alpha 7.3, but one test did spew
> a lot of complaints:
> 
> t/strap-analyze....
> Use of uninitialized value in numeric eq (==) at blib/lib/Test/Harness/Straps.pm line 153, <FILE> line 11.
> Use of uninitialized value in numeric eq (==) at blib/lib/Test/Harness/Straps.pm line 153, <FILE> line 11.
> Use of uninitialized value in numeric eq (==) at blib/lib/Test/Harness/Straps.pm line 153, <FILE> line 11.
> 
> and lots more of the same.

Ah ha!  That's the fix for "not\nok 12\n" VMSism.

Does this make that warning go away?

--- lib/Test/Harness/Straps.pm	18 Dec 2001 03:20:10 -0000	1.1.2.10
+++ lib/Test/Harness/Straps.pm	18 Dec 2001 05:03:27 -0000
@@ -87,6 +87,7 @@
     my($self) = shift;
 
     $self->{_is_vms} = $^O eq 'VMS';
+    $self->{_saw_lone_not} = 0;
 }
 
 =end _private


-- 

Michael G. Schwern   <schwern@pobox.com>    http://www.pobox.com/~schwern/
Perl Quality Assurance	    <perl-qa@perl.org>	       Kwalitee Is Job One
it is a past-time,
a paste-time, a passt-time, and
a plug my ass time.
	-- japhy

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About