Re: RFC 64 (v2) New pragma 'scope' to change Perl's default scoping

2000-08-29 Thread Nathan Wiger
Tom Christiansen wrote: > > Perhaps you simply know inept C programmers. Is there any other kind? ;-) *Kidding*! > In C, something that > isn't declared auto or static is going to be global. Seeing no > scoping declarations, the C programmer who knows C will come to the > same conclusion as t

Re: RFC 64 (v2) New pragma 'scope' to change Perl's default scoping

2000-08-29 Thread Tom Christiansen
>$x and $y are in the same scope. This is good, but also bad. For one >thing, you can hang yourself real easily if you come from a C background >and expect this to keep stuff private: > $x = 10; > sub square { > ($x) = @_; > $x *= $x; > } > $ans = square($x); > print "$x squar

RFC 64 (v2) New pragma 'scope' to change Perl's default scoping

2000-08-29 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE New pragma 'scope' to change Perl's default scoping =head1 VERSION Maintainer: Nathan Wiger <[EMAIL PROTECTED]> Date: 07 Aug 2000 Last Modified: 28 Aug 2000 Mailing List: [EMAIL PROTECTED] Version