Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^4: POD not rendering as I intend

by syphilis (Archbishop)
on Oct 14, 2007 at 12:47 UTC ( [id://644747]=note: print w/replies, xml ) Need Help??


in reply to Re^3: POD not rendering as I intend
in thread POD not rendering as I intend

In a nutshell, what I was after was a way to have perldoc output certain lines without any preceding whitespace. It now seems to me that perldoc puts leading whitespace at the beginning of *every* line of output ... so I don't see that there's any way of really achieving what I wanted. (It'd be nice if I was wrong about that.)

Cheers,
Rob

Replies are listed 'Best First'.
Re^5: POD not rendering as I intend
by grinder (Bishop) on Oct 14, 2007 at 14:31 UTC
    I don't see that there's any way of really achieving what I wanted

    Well, you can't extract a nail with a Phillips head screwdriver, either. There are many different renderers of POD... use the one that gives you the most suitable results.

    perldoc is a thin wrapper around Pod::Man. You may achieve better results with Pod::Text. The pod2text (which in turn is a wrapper around Pod::Text) has a number of knobs you can twiddle to alter the output. Maybe you'll find something suitable with that.

    • another intruder with the mooring in the heart of the Perl

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2024-04-26 01:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found