develooper Front page | perl.perl5.porters | Postings from May 2017

Re: Perl 5.26.0-RC1 is now available!

Thread Previous | Thread Next
May 23, 2017 16:29
Re: Perl 5.26.0-RC1 is now available!
Message ID:
Dave Mitchell <> writes:

> I've now done my own review of  perldelta up to and including the
> Diagnostics section.
> One thing which bamboozled me: I wanted to add this entry to changed
> diagnostics:
>     =item *
>     L<Odd name/value argument for subroutine '%s'
>     |perldiag/Odd name/value argument for subroutine '%s'>
>     This warning now includes the name of the offending subroutine.
> but of course that doesn't work because of the "/". Try as might with
> things like E<sol>, I couldn't get porting/podcheck.t to be happy.
> Anyone know the correct voodoo?

The successful incantation seems to be:

    L<Odd nameE<sol>value argument for subroutine '%s'
    |perldiag/"Odd nameE<sol>value argument for subroutine '%s'">

i.e. E<sol> on both sides of the |, and quotes around the section name.
That renders correctly for me and passes podcheck.t

- Twitter seems more influential [than blogs] in the 'gets reported in
  the mainstream press' sense at least.               - Matt McLeod
- That'd be because the content of a tweet is easier to condense down
  to a mainstream media article.                      - Calle Dybedahl

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About