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::Integers::RewriteHexNumbers - Format 0x1234 properly
AFFILIATION
This Transformer is part of the core Perl::ToPerl6 distribution.
DESCRIPTION
Perl6 hexadecimal literals have the format ':16<01_78_ab_ef>'. Perl6 enforces the rule that separators must occur between digits, and only one separator character at a time:
0x01 -> :16<01>
0x01af -> :16<01af>
0x010_af -> :16<010_af>
0x_010__af_ -> :16<010_af>
Transforms hexadecimal numbers outside of comments, heredocs, strings 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.