Re: placeholder vs. lexical variables

2006-04-11 Thread Audrey Tang
Dan Kogai wrote: > I found this when I was playing w/ pugs. > > pugs> { $^x }.(42) > 42 > pugs> { my $z; $^x }.(42) > *** Undeclared variable: "$^x" > at line 1, column 10-14 > > So far as I see s06, there's nothing wrong w/ the statement above. I > just want to make sure this is not a perl

placeholder vs. lexical variables

2006-04-11 Thread Dan Kogai
Folks, I found this when I was playing w/ pugs. pugs> { $^x }.(42) 42 pugs> { my $z; $^x }.(42) *** Undeclared variable: "$^x" at line 1, column 10-14 So far as I see s06, there's nothing wrong w/ the statement above. I just want to make sure this is not a perl6 feature. I found this