Re: [Module::Build] broken META.yml file
Status: Beta
Brought to you by:
kwilliams
From: Randy W. S. <ml...@th...> - 2006-05-17 04:58:13
|
Eric Wilhelm wrote: > # from Randy W. Sims > # on Tuesday 16 May 2006 12:58 pm: > >>> 1. >>> M::B::PP [$f, $b] >>> P::P [$f, $b] >>> >>> 2. >>> M::B::PP [$f, $b] >>> P::P ["$f $b"] >>> >>> 3. >>> M::B::PP [" $f", " $b"] >>> P::P [" $f\n $b"] >>> >>> The automated test is not trivial, but is still left as an exercise >>> for the reader. >> Maybe we should just complain and ask the user to specify the >> 'dist_author' argument to the constructor if we detect multiple lines? >> Or we could require format (2) above in the AUTHOR section where there >> is one address perl line; we should be able to detect that reliably >> enough. > > Er, do you mean "format (1)" and "one address per paragraph"? > > It's the only one that works consistently with the current code. Plus, > (2) and (3) are both somewhat incorrect anyway (any pod renderer gets > to put the stuff from (2) on a single line and as for (3), pod2html > doesn't render links in literal paragraphs.) Actually, I meant (3). When looking at the top part of you previous message, I mis-counted. However, your point about pod2html kills that. So, yeah, we could require (1), the only viable option, or we could display an informative message to the user if we detect an author section spanning multiple lines. Randy. |