Re: RFC 133 (v1) Alternate Syntax for variable names

2000-08-28 Thread David Corbin
Bron Gondwana wrote: In [EMAIL PROTECTED], you wrote: count = array; # scalar context because of assignment to scalar. alt_array[] = array; # list context and if array is a subroutine? count = array(); count = array; # warning - special meaning in p5.

Re: RFC 133 (v1) Alternate Syntax for variable names

2000-08-24 Thread David Corbin
Michael Maraist wrote: my var; # declaring a scalar my array[]; # declaring an array my hash{}; # declaring a hash Though the declarations seem fine, I assume that you propose this to be optional at usage time, since variable interpolations such as "xxx${var1}xxx${var2}xxx"

Re: RFC 133 (v1) Alternate Syntax for variable names

2000-08-23 Thread David Corbin
"David L. Nicol" wrote: Consider the following syntax: my var; # declaring a scalar my array[]; # declaring an array my hash{};# declaring a hash For the remainder of the enclosing block, the barewords var, array and hash are to be interpreted as references to a

Re: RFC 133 (v1) Alternate Syntax for variable names

2000-08-23 Thread David L. Nicol
David Corbin wrote: For the remainder of the enclosing block, the barewords var, array and hash are to be interpreted as references to a scalar, an array, and a hash. I'm confused by this statement. Are you suggesting an alternative to the original RFC? No, I was trying to figure

Re: RFC 133 (v1) Alternate Syntax for variable names

2000-08-22 Thread David L. Nicol
Consider the following syntax: my var; # declaring a scalar my array[]; # declaring an array my hash{};# declaring a hash For the remainder of the enclosing block, the barewords var, array and hash are to be interpreted as references to a scalar, an array, and a hash.

RFC 133 (v1) Alternate Syntax for variable names

2000-08-20 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Alternate Syntax for variable names =head1 VERSION Maintainer: David Corbin [EMAIL PROTECTED] Date: 20 Aug 2000 Version: 1 Mailing List: [EMAIL PROTECTED] Number: 133 =head1 ABSTRACT Many new