Re: Should @x be defined after only my @x? (RT #64968)

2009-08-13 Thread Nicholas Clark
On Wed, Aug 12, 2009 at 04:25:49PM -0500, Kyle Hasselbacher wrote: use v6; my $s;   #  ! $x.defined my @a;  # @a.defined That's the current Rakudo behavior. RT #64968 suggests that this is a bug. In Perl 5, @a would not be defined until something was put into it. Which should it be?

Should @x be defined after only my @x? (RT #64968)

2009-08-12 Thread Kyle Hasselbacher
use v6; my $s;   #  ! $x.defined my @a;  # @a.defined That's the current Rakudo behavior. RT #64968 suggests that this is a bug. In Perl 5, @a would not be defined until something was put into it. Which should it be? I'd like to write a test for this. Thanks. Kyle.

Re: Should @x be defined after only my @x? (RT #64968)

2009-08-12 Thread Uri Guttman
KH == Kyle Hasselbacher kyl...@gmail.com writes: KH use v6; KH my $s;   #  ! $x.defined KH my @a;  # @a.defined KH That's the current Rakudo behavior. RT #64968 suggests that this is a KH bug. In Perl 5, @a would not be defined until something was put into KH it. Which should it