This is perl 6, right?
my %hash; $hash{foo}{bar} - shouldn't it be %hash{foo}{bar}?
On 4/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Author: autrijus
> Date: Mon Apr 3 05:47:07 2006
> New Revision: 8553
>
> Modified:
> doc/trunk/design/syn/S09.pod
>
> Log:
> * S09: Leo pointed out the paragraph on autovivifiction
> is still mentioning references. Replace it with modern
> wording (surface semantics stays unchanged)
>
> Modified: doc/trunk/design/syn/S09.pod
> ==============================================================================
> --- doc/trunk/design/syn/S09.pod (original)
> +++ doc/trunk/design/syn/S09.pod Mon Apr 3 05:47:07 2006
> @@ -696,9 +696,10 @@
> my $val := $hash{foo}{bar};
>
> my @array;
> - my $ref = \$array[0][0];
> + my $ref = \$array[0][0]; # $ref is an Arguments object - see S02
>
> my %hash;
> $hash{foo}{bar} = "foo"; # duh
>
> -This rule applies to dereferencing arrays, hashes, and scalar references.
> +This rule applies to C<Array>, C<Hash>, and C<Scalar> container objects.
> +
>