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::CompoundStatements::FormatGivenWhens - Format given(), when()
AFFILIATION
This Transformer is part of the core Perl::ToPerl6 distribution.
DESCRIPTION
While Perl6 conditionals allow parentheses, they need whitespace between the bareword given
and the opening parenthesis to avoid being interpreted as a function call:
given(1) { } --> given (1) { }
when(1) { } --> when (1) { }
given (1) { } --> given (1) { }
when (1) { } --> when (1) { }
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.