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::Array::FormatArrayQws - Format qw() to qw ()
AFFILIATION
This Transformer is part of the core Perl::ToPerl6 distribution.
DESCRIPTION
Perl6 qw() operates almost exactly like Perl5 qw() but with one corner case - qw(a b c)
, like any bareword followed by an open parenthesis, is treated as a function call. This Transformer places a whitespace between qw
and (...)
in order to disambiguate, like so:
qw(a b c) --> qw (a b c)
qw{a b c} --> qw{a b c}
qw<a b c> --> qw{a b c}
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.