The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Perl::ToPerl6::Transformer::Variables::RewriteMatchVariables - Renumber match variables

AFFILIATION

This Transformer is part of the core Perl::ToPerl6 distribution.

DESCRIPTION

Perl6 renumbers match variables so that they start at $0. If you're wondering what happened to $0, it's now $*PROGRAM-NAME:

  $1  --> $0
  $2  --> $1
  $99 --> $98

Transforms match values outside of comments, heredocs, strings and POD.

CONFIGURATION

This Transformer is not configurable except for the standard options.

AUTHOR

Jeffrey Goff <drforr@pobox.com>

COPYRIGHT

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.