NAME

Perl::ToPerl6::Transformer::FormatSpecialLiterals - Format __END__, __LINE__ &c

AFFILIATION

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

DESCRIPTION

__END__ is replaced with the POD marker '=finish', and you can read beyond this boundary with the filehandle $*FINISH:

__END__ --> =finish
__LINE__ --> $?LINE
__FILE__ --> $?FILE
__PACKAGE__ --> $?PACKAGE

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.