delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/28/13:19:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <015b01c2ae9d$a8228bd0$070da8c0@pucki>
From: =?iso-8859-1?Q?J=F6rg_Schaible?= <joerg DOT schaible AT web DOT de>
To: <cygwin AT cygwin DOT com>
References: <atvi2a$615$1 AT main DOT gmane DOT org> <431223822683 DOT 20021228004901 AT familiehaase DOT de>
Subject: Re: perl 5.8.1: perldoc perl fails
Date: Sat, 28 Dec 2002 19:00:34 +0100
Organization: JSI
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id gBSIJpo11527

Hi Gerrit,

> perldoc perl.pod works well

Meanwhile I found out that too.

> Yes,  please fix it :-)

rm /bin/perl.exe
<g>

> I just figured that calling: perldoc perl.pod works well.
> I tried to understand what happens in the perldoc script
> and I have no idea why it doesn't work.  And most
> interesting is that it works with perl 5.6.1.

It seems to be related with the new perl IO functions and Cygwin's changes in handling executable files. I *assume* that perldoc is looking for an executable "perl" in the path (call perldoc with option -v) and finds - reported by Cygwin - perl.exe. Opening "perl" obviously fails then in function "containspod" of perldoc.

You can recreate the problem with any other perl.pod topic by creating a appropriate executable, e.g. just copy /bin/perldoc to /bin/perlintro.exe and call "perldoc perlintro". As workaround call perl.pod with extension (as your recommendatiuon above) or delete /bin/perl.exe and create a link from /bin/perl5.8.0.exe to /bin/perl.

Regards,
Jörg

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019