NAME

Perl::ToPerl6::Transformer::BasicTypes::Strings::AddWhitespace - Add whitespace between q/qq and ()

AFFILIATION

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

DESCRIPTION

Perl6 q() and qq() delimiters require whitespace if you're using round braces, otherwise they get confused with a q() or qq() function:

q(Hello world) --> q (Hello world)
q[Hello world] --> q[Hello world]
qq (Hello world) --> q (Hello world)
qq[Hello world] --> qq[Hello world]

Transforms only interpolated strings outside of comments, heredocs 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.