develooper Front page | perl.perl5.porters | Postings from February 2013

Re: Recent pod

Thread Previous | Thread Next
From:
Tom Christiansen
Date:
February 25, 2013 18:05
Subject:
Re: Recent pod
Message ID:
30506.1361815495@chthon
"David E. Wheeler" <david@justatheory.com> wrote on Mon, 25 Feb 2013 08:53:29 PST: 

>On Feb 24, 2013, at 12:57 PM, H.Merijn Brand <h.m.brand@xs4all.nl> wrote:

>> =head1 TEST
>> 
>> =head2 Return values
>> 
>> =over 4
>> 
>> =item undef
>> 
>> The return value is undefined
>> 
>> =item 0
>> 
>> The return value i numerical 0 (OK).
>> 
>> =item *
>> 
>> Any other value.
>> 
>> =back
>> 
>> =cut
>> -->8---
>> 
>> Now it gives me TWO errors and dies:
>> 
>> $ pod2text test.pod
>> TEST
>>  Return values
>>    undef
>>        The return value is undefined
>> 
>> test.pod around line 11: Expected text after =item, not a number
>>    0   The return value i numerical 0 (OK).
>> 
>> test.pod around line 15: Expected text after =item, not a bullet
>>    *   Any other value.

> This was due to this change:

>  https://github.com/theory/pod-simple/commit/5a01eba83824d9f91ecfae302a<SNIP>

> Note that this is a warning, rather than a fatal error, though of course<SNIP>

> In general, I think that this is an improvement, as one should not usual<SNIP>

> But this does raise the question as to whether this change is too much. <SNIP>


Would a prefix Z<> work to trick it?

--tom

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About