Unwrap a perldiag entry for better splain output
authorFather Chrysostomos <sprout@cpan.org>
Sat, 16 Nov 2013 05:40:45 +0000 (21:40 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 16 Nov 2013 05:40:45 +0000 (21:40 -0800)
commitbfe1187367fb54e8ac3a13703b06f6119d6bc035
tree55acb260b0f1c415100473ff592de207658c977a
parent87444db5c36797b47b49fc8b6f4cfd9453186734
Unwrap a perldiag entry for better splain output

Before:

$ ./perl -Ilib -Mdiagnostics -e 'warn "Missing '\'']'\'' in prototype for %s : %s"'
Missing ']' in prototype for %s : %s at -e line 1 (#1)
    (W illegalproto) A grouping was started with [ but never closed with
    ].

After:

$ ./perl -Ilib -Mdiagnostics -e 'warn "Missing '\'']'\'' in prototype for %s : %s"'
Missing ']' in prototype for %s : %s at -e line 1 (#1)
    (W illegalproto) A grouping was started with [ but never closed with ].
pod/perldiag.pod