Can you tell me if I'm missing something fundamental here?

Regarding "item containers" ...

   my @A = (1, 2, 3);
   my $x;  # default to "is Scalar"
   $x = @A;

Now $x is BOUND TO an item container of type Scalar, which CONTAINS an Array which itself CONTAINS 3 items of type Int.

@A is BOUND TO a list container of type Array.

   my $y := @A;

$y is BOUND TO the Array, same as @A is.

--John

Reply via email to