Hi
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.
Hope this is helpful.
Robin
--- lib/Pod/Man.pm.orig Sun Jan 7 05:32:29 2001
+++ lib/Pod/Man.pm Fri Feb 16 19:46:02 2001
@@ -958,7 +958,7 @@
# MIME-Version, since it looks weird with the full-height V.
s{
( ^ | [\s\(\"\'\`\[\{<>] )
- ( [A-Z] [A-Z] [/A-Z+:\d_\$&-]* )
+ ( [A-Z] [A-Z] (?: [/A-Z+:\d_\$&-]* [A-Z])? )
(?: (?= [\s>\}\]\)\'\".?!,;:] | -- ) | $ )
} { $1 . '\s-1' . $2 . '\s0' }egx;
@@ -967,15 +967,15 @@
# Italize functions in the form func().
s{
- \b
+ (?<= [^\w\\] )
(
- [:\w]+ (?:\\s-1)? \(\)
+ \w[:\w]+ (?:\\s-1)? \(\)
)
} { '\f(IS' . $1 . '\f(IE' }egx;
# func(n) is a reference to a manual page. Make it \fIfunc\fR\|(n).
s{
- \b
+ (?<= [^\w\\] )
(\w[-:.\w]+ (?:\\s-1)?)
(
\( [^\)] \)
--
Robin Barker | Email: [EMAIL PROTECTED]
CMSC, Building 10, | Phone: +44 (0) 20 8943 7090
National Physical Laboratory, | Fax: +44 (0) 20 8977 7091
Teddington, Middlesex, UK. TW11 OLW | WWW: http://www.npl.co.uk