http://qs321.pair.com?node_id=338633

tos has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

how can i get lower-case-Chars in pod2man-generated manpage-titles (without edititing the manpage afterwards)

F.i. the given file gUrKe

# touch gUrKe # pod2man gUrKe |groff -mandoc -Tascii GURKE(1) User Contributed Perl Documentation GURKE(1) perl v5.8.2 2004-03-22 GURKE(1)
Naturally i want to see gUrKe(1). What's to do ?

regards and thanks in advance,
tos


Is simplicity best or simply the easiest
Martin L. Gore

Replies are listed 'Best First'.
Re: lower case in manpage-title
by Aragorn (Curate) on Mar 22, 2004 at 15:26 UTC
    I haven't tested this, but a quick look at pod2man tells me that it uses the Pod::Man module. Searching for a statement with uc yields the following line:
    $name = uc File::Basename::basename ($name);
    So you could strip out the uc and have the file names displayed in their original case.

    As I said, untested :-)

    Arjen