Next Tricks of the Wizards 93

Perl6::Variables

        package Perl6::Variables;
        use Regexp::Common;
        use Filter::Simple;
        FILTER_ONLY code => \&translate,
                   string => \&translate_string,
        ;
        Perl 6          Perl 5
        ---------------------------
          @array[3]       $array[3]
         \@array[3]      \$array[3]"
         "@array[3]"     "$array[3]"
        "\@array[3]"    "\@array[3]"
        sub translate_string { translate_code(1) }


Next Copyright © 2003 M. J. Dominus