Why not adopt me?
This distribution is up for adoption!
If you're interested then please contact the PAUSE module admins via
email.
NAME
Perl::ToPerl6::Transformer::BasicTypes::Strings::RewriteHereDocs - Format <<EOF constructs correctly
AFFILIATION
This Transformer is part of the core Perl::ToPerl6 distribution.
DESCRIPTION
Perl6 heredocs now no longer need to be quoted, and the indentation rules differ from perl5. Specifically the old workaround of <<' EOF'
will have surprising results, because your entire heredoc will be indented by the whitespace amount:
<<EOF; --> q:to/EOF/;
EOF --> EOF
<<' EOF'; --> q:to/EOF/;
EOF --> EOF
Transforms only heredocs, not POD or comments.
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.