This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldiag: Rewrap an entry for better splain output
authorFather Chrysostomos <sprout@cpan.org>
Mon, 5 Mar 2018 17:55:34 +0000 (09:55 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 5 Mar 2018 17:55:34 +0000 (09:55 -0800)
commita2d13ee089a08f2c4ac0472a6d54e14e83a4eab4
tree489c268f3df0b21997eebc11e689150fcb3b2629
parentab82787b570c2b70044e783462318c4c4c089ca6
perldiag: Rewrap an entry for better splain output

The splain utility (aka diagnostics.pm) blindly strips out pod formatting
without rewrapping the text (I think rewrapping would be overkill).  This
means that formatting like ‘L<Note [5] in
perlrecharclass|perlrecharclass/[5]>’ turns into a simple ‘Note [5] in
perlrecharclass’, which can mess up the indentation.

Rewrap the entry to compensate, plus a few other tweaks to improve
the appearance of the right margin.
pod/perldiag.pod