NAME

Perl::ToPerl6::Transformer::References::RewriteDereferences - Transform %{$foo} to %($foo)

AFFILIATION

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

DESCRIPTION

Perl6 dereferencing uses %() and @() because () would be a code block otherwise:

%{$foo} --> %($foo)
%$foo   --> %$foo
@{$foo} --> @($foo)
@$foo   --> @$foo

Transforms dereferences 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.