Re: Clarification on Default Scoping (was Re: C<strict> as default (was Re: RFC 16 (v1)))
[email protected] Sat, 05 Aug 2000 15:15:44 -0400
| Newsgroups | perl.perl6.language.strict |
|---|---|
| Message-ID | <[email protected]> |
> I do *NOT* think in any way that default Perl 6 should ever require a my().
I should probably add here that if this is what you think, you are
certainly doomed to be disappointed, becapse Perl 5 requires my() in
many cases, and this is not going to go away.
For example, there is no way to write this without my():
$x = 2;
if (...) {
my $x = 1;
...
}
print "$x\n";
So I think it might be prudent for you to moderate your demands a little.