Zahatski Aliaksandr > Perl6-Pod-0.58 > Perl6::Pod::FormattingCode::E

Download:
Perl6-Pod-0.58.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Source   Latest Release: Perl6-Pod-0.60

NAME ^

Perl6::Pod::FormattingCode::E - include named Unicode or XHTML entities

SYNOPSIS ^

        Perl 6 makes considerable use of E<171> and E<187>.
    
        C<1E<VERTICAL LINE>2>
   
        my $label-area-width = 1 + [max] @scoresE<raquo>.keyE<raquo>.chars;

DESCRIPTION ^

If the contents of the E<> are a number, that number is treated as the decimal Unicode value for the desired codepoint. For example:

    Perl 6 makes considerable use of E<171> and E<187>.

You can also use explicit binary, octal, decimal, or hexadecimal numbers (using the Perl 6 notations for explicitly based numbers):

    Perl 6 makes considerable use of E<0b10101011> and E<0b10111011>.
    Perl 6 makes considerable use of E<0o253> and E<0o273>.
    Perl 6 makes considerable use of E<0d171> and E<0d187>.
    Perl 6 makes considerable use of E<0xAB> and E<0xBB>.

If the contents are not a number, they are interpreted as a Unicode character name (which is always upper-case), or else as an XHTML entity. For example:

    Perl 6 makes considerable use of E<LEFT DOUBLE ANGLE BRACKET>
    and E<RIGHT DOUBLE ANGLE BRACKET>.

or, equivalently:

    Perl 6 makes considerable use of E<laquo> and E<raquo>.

Multiple consecutive entities can be specified in a single E<> code, separated by semicolons:

    Perl 6 makes considerable use of E<laquo;hellip;raquo>.

to_xhtml

    E<lt>

Render to

   &lt;

to_docbook

    E<lt>

Render to

   &lt;

SEE ALSO ^

http://zag.ru/perl6-pod/S26.html, Perldoc Pod to HTML converter: http://zag.ru/perl6-pod/, Perl6::Pod::Lib

AUTHOR ^

Zahatski Aliaksandr, <zag@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright (C) 2009-2010 by Zahatski Aliaksandr

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: