develooper Front page | perl.perl5.porters | Postings from March 2000

pod2man deficiencies

Thread Next
Gregor N. Purdy
March 16, 2000 08:50
pod2man deficiencies
Message ID:
Is anyone out there besides me interested in having pod2man
be callable in a pipeline? I want to run a program that outputs
POD on standard out and pipe it in:

	foo x.pod | pod2man | nroff

Since pod2man requires a filename, I tried:

	foo x.pod | pod2man - | nroff

but pod2man things the '-' is a malformed option.

So, for now, I'm using a temporary file (yech!). However,
another problem I'm having is that the POD I want to pass in
starts with an =for command. The first =head1 command *is*
=head1 NAME, but pod2man expects the first command in the file
to be =head1 NAME, and thus rejects my input. I think pod2man
should be ignoring directives it doesn't understand.


-- Gregor

| Gregor N. Purdy            |
|                                                              |
| If I fell in the woods, and nobody was around, would I tell? |

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About