Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Edit top line of perldoc

0 views
Skip to first unread message

Lars Eighner

unread,
Aug 1, 2008, 9:57:19 PM8/1/08
to
Is it possible within POD to edit the top line of the perldoc display (the
one with 'User Contributed Perl Documentation' in it)?

--
Lars Eighner <http://larseighner.com/> use...@larseighner.com
War on Terrorism: Okay, Unleash OUR Extreme Fundamentalists
"... all of them who have tried to secularize America, I point the finger in
their face and say, 'You helped this happen.'" --Jerry Falwell

Ben Morrow

unread,
Aug 1, 2008, 10:35:08 PM8/1/08
to

Quoth Lars Eighner <use...@larseighner.com>:

> Is it possible within POD to edit the top line of the perldoc display (the
> one with 'User Contributed Perl Documentation' in it)?

Not from within the POD itself. You can change it by supplying the
'center' option to Pod::Man, or by calling perldoc like

perldoc -w center:"Foo Bar Baz" perldoc

Of course, this only applies if you're using Pod::Man to format your
pod; but that's what perldoc uses by default under Unix.

Ben

--
The cosmos, at best, is like a rubbish heap scattered at random.
Heraclitus
b...@morrow.me.uk

0 new messages