Skip Menu |

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

Report information
The Basics
Id: 116953
Status: patched
Priority: 0/
Queue: Pod-Perldoc

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

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



Subject: Command line parameter error under windows
Hi. Command "perldoc -f xxx" on windows always return parameter error. On linux works as it should. Please, look at output below: d:\projects\pcore>perldoc -V Perldoc v3.27, under perl v5.024000 for MSWin32 d:\projects\pcore>perldoc -f print Invalid parameter - -R
On Sun Aug 14 14:46:55 2016, ZDM wrote: Show quoted text
> Hi. > > Command "perldoc -f xxx" on windows always return parameter error. On > linux works as it should. > > Please, look at output below: > > d:\projects\pcore>perldoc -V > Perldoc v3.27, under perl v5.024000 for MSWin32 > > d:\projects\pcore>perldoc -f print > Invalid parameter - -R
This is caused by Pod::Perldoc setting $ENV{MORE} = '-R' unconditionally. On Windows, 'more' also reads options from %MORE% and it doesn't understand '-R'. This breaks all of perldoc.
On Tue Feb 28 04:49:06 2017, MAUKE wrote: Show quoted text
> On Sun Aug 14 14:46:55 2016, ZDM wrote:
> > Hi. > > > > Command "perldoc -f xxx" on windows always return parameter error. On > > linux works as it should. > > > > Please, look at output below: > > > > d:\projects\pcore>perldoc -V > > Perldoc v3.27, under perl v5.024000 for MSWin32 > > > > d:\projects\pcore>perldoc -f print > > Invalid parameter - -R
> > This is caused by Pod::Perldoc setting $ENV{MORE} = '-R' > unconditionally. On Windows, 'more' also reads options from %MORE% and > it doesn't understand '-R'. > > This breaks all of perldoc.
I have released 3.27_02 to CPAN which addresses this problem. Please try that release. If it fixes the issues, I will publish 3.28 "official" Thank you for the reports.