Perl::ToPerl6::Transformer::Variables::RewriteSpecialVariables - Format special variables such as @ARGV
This Transformer is part of the core Perl::ToPerl6 distribution.
Perl6 renames many special variables, this changes most of the common variable names, including replacing some of the more obscure variables with new Perl6 equivalent code:
@ARGV --> @*ARGS @+ --> (map {.from},$/[*])
Other variables are no longer used in Perl6, but will not be removed as likely they have expressions attached to them. These cases will probably be dealt with by adding comments to the expression.
Transforms special variables outside of comments, heredocs, strings and POD.
This Transformer is not configurable except for the standard options.
Jeffrey Goff <drforr@pobox.com>
Copyright (c) 2015 Jeffrey Goff
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Perl::ToPerl6, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perl::ToPerl6
CPAN shell
perl -MCPAN -e shell install Perl::ToPerl6
For more information on module installation, please visit the detailed CPAN module installation guide.