The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Documentation

Command-line interface to transform Perl source.
Hints for working on the Perl::ToPerl6 core.
Descriptions of the Transformer modules included with Perl::ToPerl6 itself.

Modules

Generate Recursive-Descent Parsers
Critique Perl source code for best-practices.
A "## no mogrify" annotation in a document.
Guts of perlmogrify.
The final derived Perl::ToPerl6 configuration, combined from any profile file and command-line parameters.
Caching wrapper around a PPI::Document.
A problem identified by Perl::ToPerl6.
A collection of a set of problems found in the configuration and/or command-line options.
A problem with Perl::ToPerl6 configuration.
A problem with Perl::ToPerl6 configuration that doesn't involve an option.
The configuration referred to a non-existent transformer.
A problem with an option in the Perl::ToPerl6 configuration.
A problem with Perl::ToPerl6 global configuration.
The configuration referred to a non-existent global option.
A problem with the value of a global parameter.
A problem with configuration of a transformer.
The configuration referred to a non-existent parameter for a transformer.
A problem with the value of a parameter for a transformer.
A problem that should cause Perl::ToPerl6 to stop running.
A problem for which there is no specialized information.
A problem with the Perl::ToPerl6 implementation, i.e. a bug.
A problem with input or output.
The code doesn't look like code.
The global configuration default values, combined with command-line values.
Generate an initial Perl::ToPerl6 profile.
Compile stats on Perl::ToPerl6 transformations.
Utility functions for testing new Transformers.
Construct thematic sets of transformers.
List the themes of the installed Transformers.
A transformation of a Transformer found in some source code.
Base class for all Transformer modules.
Add whitespace between conditionals 'if', 'unless' &c and '(...)'
Swap for my $x ( @x ) { } --> <for ( @x ) - $x { }>>
Indirect object notation no longer allowed.
Transform '->', '!" &c to their Perl6 equivalents
Format 'use Foo;' to 'use Foo:froPerl5;'
Add whitespace between conditionals 'if', 'unless' &c and ()
Regexen can no longer have alphanumeric delimiters
Remove ($)-style prototypes on subroutines.
Transform bareword hash keys into quoted hash keys
Give variables their proper sigils.
Format special variables such as @ARGV
Perl6 now uses [*-1] notation to represent negative indices.
Give variables their proper sigils.
Configuration data for a Transformer.
Instantiates Transformer objects.
Display minimal information about Transformers.
Metadata about a parameter for a Transformer.
Default type-specific actions for a parameter.
Actions appropriate for a boolean parameter.
Actions appropriate for an enumerated value.
Actions appropriate for an integer parameter.
Actions appropriate for a simple string parameter.
Actions appropriate for a parameter that is a list of strings.
The contents of the user's profile, often .perlmogrifyrc.
General utility subroutines and constants for Perl::ToPerl6 and derivative distributions.
Utilities for converting from one type of data to another.
Functions that calculate the McCabe score of source code.
Utility functions for dealing with POD.
Utility functions for dealing with PPI objects.
Utility functions for dealing with Perl language issues.
A framework for testing your custom Transformers