develooper Front page | perl.qa | Postings from June 2008

Re: The uselessness of arbitrary Metric gaming

Thread Previous | Thread Next
From:
Aristotle Pagaltzis
Date:
June 30, 2008 17:38
Subject:
Re: The uselessness of arbitrary Metric gaming
Message ID:
20080701003846.GX24815@klangraum.plasmasturm.org
* David Cantrell <david@cantrell.org.uk> [2008-07-01 00:05]:
> Surely you can at least check that all POD is "well-formed"
> without running any code from the distribution in question?

Not entirely, although in retrospect that doesn’t matter.

The issue is that if you have multi-line strings or heredocs or
other such multi-line special constructs, perl may parse the file
differently from a naïve POD parser. However, that doesn’t really
matter, as all POD parsers used in practice are naïve, so you
*don’t* want to parse the file exactly as perl would if you’re
going to validate the POD.

So please disregard that part; it is infeasible only to check POD
for good form (much less style), whereas it is entirely feasible
to check that the POD will be parsed correctly by practical POD
processors.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

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