Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

lower case in manpage-title

by tos (Deacon)
on Mar 22, 2004 at 14:54 UTC ( #338633=perlquestion: print w/replies, xml ) Need Help??

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://338633]
Approved by jonnyfolk
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (1)
As of 2021-12-07 07:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (33 votes). Check out past polls.

    Notices?