Perl::ToPerl6::ProfilePrototype - Generate an initial Perl::ToPerl6 profile.
This is a helper class that generates a prototype of a Perl::ToPerl6 profile (e.g. a .perlmogrifyrc file. There are no user-serviceable parts here.
This is considered to be a non-public class. Its interface is subject to change without notice.
new( -transformers => \@POLICY_OBJECTS )
Returns a reference to a new Perl::ToPerl6::ProfilePrototype object.
Perl::ToPerl6::ProfilePrototype
Returns a string representation of this ProfilePrototype. See "OVERLOADS" for more information.
ProfilePrototype
When a Perl::ToPerl6::ProfilePrototype is evaluated in string context, it produces a multi-line summary of the policy name, default themes, and default severity for each Perl::ToPerl6::Transformer object that was given to the constructor of this ProfilePrototype. If the Transformer supports an additional parameters, they will also be listed (but commented-out). The format is suitable for use as a .perlmogrifyrc file.
Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>
Copyright (c) 2005-2011 Imaginative Software Systems. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license can be found in the LICENSE file included with this module.
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.