I think it has to do with the start of your file. If you say 'use v6;' - which I don't think is necessary in pugs right now - that defaults to strict. However, if you say 'v6' without the 'use', then that isn't strict, so you would be able to do what you want to do. I believe those are the rules in the perl6 language. However, as far as I know, pugs is just automatically in strict mode, no matter what you do.
-Bryan
| [reply] |
Read throught this for more background and for a way around the strictness. Though I'm not sure the pugs implements it yet.
| [reply] |
I'm kinda curious why you wouldn't want it to require my. My definitly stops bugs, but what is the benefit of not needing it?
my $learning = 'perl6';
say $laerning; # error with strict, silent bug without
| [reply] [d/l] |