Robin Barker <[EMAIL PROTECTED]> writes:
> Processing pod/perlfaq5.pod with pod2man (via perldoc) gives
> this:
> seconds since the epoch, you would call the stat function,
> then use localtime(), gmtime(), or POSIX:\fIs0:strftime() to
> convert this into human-readable form.
> and:
> The POSIX:\fIs0:strftime() approach has the benefit of
> being, in theory, independent of the current locale. See
> There is feature iteraction adding different sorts of markup.
> Attached is a patch but its really just bandaid. C<sub guesswork>
> really needs to walk along its output, performing each transformation
> as appropriate, but trying to transform the result of earlier actions.
Thanks, fixed in a slightly different way in podlators 1.09. After
staring at those regexes for a while, I realized that the one to do small
caps was making some bad assumptions.
Man, that stuff is ugly. At least some of the ugliness is because of
where we're trying to do guesswork; it would definitely be cleaner if some
higher-level module could turn the appropriate things into interior
sequences.
--
Russ Allbery ([EMAIL PROTECTED]) <http://www.eyrie.org/~eagle/>