Next Tricks of the Wizards 92

Perl6::Variables

          Perl 5          Perl 6
          ---------------------------
          $s              $s
          $a[$n]          @a[$n]
          $h{$k}          %h{$k}
          $s->[$n]        $s[$n]
          $s->{$k}        $s{$k}
          $s->(@a)        $s(@a)


Next Copyright © 2003 M. J. Dominus