in reply to Escaping special characters for POD output
s/</E<lt>/g will do unless you want to build tags dynamically too. (Then you also have to escape ">", and possibly "|" and "/" too.)
Note that you probably want one of the following here:
orCompare using Perl's C<E<lt>=E<gt>> instead of C<cmp>
Compare using Perl's C<< <=> >> instead of C<< cmp >>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Escaping special characters for POD output
by perlancar (Hermit) on Dec 15, 2019 at 12:44 UTC | |
by perlancar (Hermit) on Dec 15, 2019 at 16:07 UTC | |
by ikegami (Patriarch) on Dec 15, 2019 at 16:24 UTC | |
by perlancar (Hermit) on Dec 16, 2019 at 02:48 UTC | |
by ikegami (Patriarch) on Dec 16, 2019 at 11:47 UTC | |
|