Perl::Examples::POD::Escape - Show the various examples of escaping
This document describes version 0.095 of Perl::Examples::POD::Escape (from Perl distribution Perl-Examples), released on 2020-03-07.
To make the whole paragraph as verbatim, thus avoiding any interior sequences from being interpreted, you indent the paragraph with at least one whitespace, example:
This is a verbatim paragraph. Interior sequences like I<italic> and B<bold> will not be interpreted but shown as is.
They are akin to
<PRE> in HTML.
To escape a character, use the E<> interior sequence, which is similar to
&foo; entities in HTML. For example:
E<gt> (will be rendered as >),
E<lt> (will be rendered as <). See perlpod for the full list.
To make an inline text as verbatim, you use the
C<> interior sequence, for example:
C<literal> (will be rendered as
C<>> (will be rendered as
>). This is similar to
<CODE> in HTML.
Interior sequence can be written with a single angle bracket pair (
C<foo>) or double angle bracket + whitespace (
C<< foo >>,
B<< foo >>). The latter is useful if you have literal < and > inside the sequence, e.g.
C<< <TAG> >> (will be rendered as
The interior sequence can contain one another, so another way to write verbatim:
C<< <foo> >>
(will be rendered as <italic>).
Please visit the project's homepage at https://metacpan.org/release/Perl-Examples.
Source repository is at https://github.com/perlancar/perl-Perl-Examples.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Perl-Examples
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
This software is copyright (c) 2020, 2018, 2016, 2015 by firstname.lastname@example.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.