On Thu, Nov 14, 2002 at 11:22:16PM -0600, Craig A. Berry wrote:
> I'm not sure what harm that's doing and don't fully understand what we
> needed it for anyway, but I don't think you're getting what you expected.
Its needed to stop perl from trying to interpret the --section bits as
arguments to perl.
$ perl -le 'print "@ARGV"' --section
Unrecognized switch: --section (-h will show valid options).
$ perl -le 'perl -e 'print "@ARGV"' -- --section
--section
I can't find anything in the MMS manual to suggest -- might be special.
Unless its doing something silly like interpreting it as an Ignore Prefix.
You sure it's not the VMS shell eating it? Does quoting it help? A
backslash?
> The other thing is that $self->{MAN1PODS} and $self->{MAN3PODS} are
> empty, so there is no input file.
Is MAN3PODS empty in the Descrip.mms? Its possible you don't have
INSTALLMAN*DIR set in which case MAN*PODS will be empty and no man pages
will be built.
Did you normally get man pages built on VMS?
> With no input file it defaults to sending a bare template to the terminal,
> or at least that's what I think is happening. Output below (possibly
> wrapped by MUA).
pod2man is using the stray '-' as the input file and I guess
Pod::Man->parse_from_file() goes to STDOUT if you don't give it an outfile.
I'll leave that behavior in since it emulates the real pod2man's behavior.
So once the stray is fixed this problem should go away.
--
Michael G. Schwern <[EMAIL PROTECTED]> http://www.pobox.com/~schwern/
Perl Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One
And God was pleased.
And Dog was happy and wagged his tail.
And Adam was greatly improved.
And Cat did not care one way or the other.
-- http://www.catsarefrommars.com/creationist.htm