apparently this is a feature of Test.pm though I think a very bad one Gabor
On Wed, Feb 4, 2009 at 9:00 PM, perl6 via RT <perl6-bugs-follo...@perl.org> wrote: > Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "Test.pm eats the "Use of uninitialized value" warnings", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [perl #63038]. > > Please include the string: > > [perl #63038] > > in the subject line of all future correspondence about this issue. To do so, > you may reply to this message. > > Thank you, > perl6-bugs-follo...@perl.org > > ------------------------------------------------------------------------- > the following code prints a warning "Use of uninitialized value" > > ================ > use v6; > > my %h; > say %h<field>; > ================ > > If this is within a test as follows, the warnings is not printed > > ================ > use v6; > > use Test; > plan 1; > ok(1); > > > my %h; > say %h<field>; > > ================ > >