develooper Front page | perl.perl5.porters | Postings from February 2003

Re: [perl #19682] perldoc using \n rather than \r\n

From:
Philip Newton
Date:
February 11, 2003 12:38
Subject:
Re: [perl #19682] perldoc using \n rather than \r\n
Message ID:
3E49681E.25349.1CFF73@localhost
On 11 Feb 2003 at 6:29, via RT wrote:

> I guess I'll look into a different pager.  I haven't found a silver-
> bullet for this anywhere.

I have, thanks to Sean M. Burke, who suggested installing Pod::Perldoc. 
That module comes with a replacement 'perldoc' script which Does The 
Right Thing on Windows.

It's pure Perl, so just fetch it from CPAN. If you have a make utility 
(preferably Microsoft's nmake, since that's what ActivePerl was built 
with), then the standard "perl Makefile.PL; make; make install" should 
work.

Otherwise copy Pod\Perldoc.pm to a directory under @INC and put perldoc 
into the Perl "bin" directory; it may need converting to a batch file 
by hand (with pl2bat) so that you can simply call it as "perldoc".

Cheers,
Philip
-- 
Philip Newton <Philip.Newton@gmx.net>




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About