Hrrm, I never saw my reply to Thomas's message - looks like it got eaten
by something. My apologies if this is a repeat for you ...
Thomas Klausner wrote:
Some dists (eg Number::Phone)
Urk, that's one of mine.
> currently cause segfaults in cpants
Sorry!
I tracked the problem down to this: Pod::Simple::Checker (and Test::Pod)
report very strange things when run against eg. Number::Phone.
Number::Phone::UK::Data contains a big chunk of binary gibberish at the
end of the file (it's an embedded DBM::Deep database), in a __DATA__
segment. That includes several "lines" that match /^=/ and so might
look like POD, and hence confuse things. I'd argue that this means
there's a bug in Pod::Simple::Checker and/or Test::Pod, if they're
looking at stuff in __DATA__.
It may be significant that the __DATA__ marker isn't at column zero, so
if the parser is looking for /^__DATA__/ that would explain why it's not
spotted.
Number-Phone-UK-DetailedLocations will probably make things go boom for
the same reason.
BTW, adding a run-of-the-mill pod.t to Number-Phone also yields some
interesting results (loads of garbage output)
Yeah, and for the same reason.
--
David Cantrell