Skip Menu |

This queue is for tickets about the Pod-Perldoc CPAN distribution.

Report information
The Basics
Id: 86126
Status: rejected
Priority: 0/
Queue: Pod-Perldoc

People
Owner: Nobody in particular
Requestors: DOHERTY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 3.20
Fixed in: (no value)



Subject: -M switch not respected
Despite setting -M in the PERLDOC environment variable or providing it on the command line, the output is unchanged: mike@charron:~ $ perldoc -V Perldoc v3.20, under perl v5.018000 for linux [0] mike@charron:~ $ echo $PERLDOC -MPod::Perldoc::Man [0] mike@charron:~ $ perldoc perl # uses ToTerm [0] mike@charron:~ $ perldoc -MPod::Perldoc::Man perl # uses ToTerm [0] mike@charron:~ $ perldoc -oman perl # uses Man [0]
Subject: Re: [rt.cpan.org #86126] -M switch not respected
Date: Thu, 13 Jun 2013 19:11:36 -0500
To: bug-Pod-Perldoc [...] rt.cpan.org
From: brian d foy <bdfoy [...] cpan.org>
Show quoted text
> mike@charron:~ > $ perldoc -MPod::Perldoc::Man perl # uses ToTerm
I think you want *::ToMan there, which is why it defaults to ToTerm. If you set PERLDOCDEBUG, you can watch how it loads and chooses the translator. For me, perldoc does the correct thing. It could possibly warn about a formatter not existing. -- brian d foy <brian.d.foy@gmail.com> http://www.pair.com/~comdog/
On Thu Jun 13 20:12:30 2013, BDFOY wrote: Show quoted text
> I think you want *::ToMan there
Well that was dumb :)