delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/06/19:22:01

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
Date: Tue, 6 Aug 2002 16:21:27 -0700 (Pacific Daylight Time)
From: Michael A Chase <mchase AT ix DOT netcom DOT com>
Subject: Re: Trouble running Perl script that require root privilege
To: Max Bowsher <maxb AT ukf DOT net>, cygwin AT cygwin DOT com
Message-ID: <Mahogany-0.64.2-560-20020806-162127.00@MCHASE-COMPAQ>
MIME-Version: 1.0
References: <E37E01957949D611A4C30008C7E691E29C1FBC AT aples3 DOT jhuapl DOT edu> <Mahogany-0 DOT 64 DOT 2-2456-20020806-101439 DOT 00 AT MCHASE-COMPAQ>
<018201c23d9d$9b0f0d90$0100a8c0 AT wdg DOT uk DOT ibm DOT com>
In-Reply-To: <018201c23d9d$9b0f0d90$0100a8c0@wdg.uk.ibm.com>

On Wed, 7 Aug 2002 00:01:46 +0100 Max Bowsher <maxb AT ukf DOT net> wrote:

> Michael A Chase wrote:
> > On Tue, 6 Aug 2002 12:43:13 -0400  "Humes, David  G."
> > <David DOT Humes AT jhuapl DOT edu> wrote:
> >
> >> Note:  This is NOT a Perl question.
> >
> > Actually it is a Perl module problem.  There should be a "and $^O ne
> > 'cygwin'" next to the test for VMS in the croak line.  Because Cygwin
> > runs on top of Windows, it isn't identical to UNIX and this is one of
> > the places where you get bit by the difference.
> 
> Yes, the bug is in Net::Ping. There was a short thread about this in the last
> month or so. The cleanest solution would probably be to try the ping, and then
> report an access denied error with a descriptive message. This avoids the need
> to know about every system type and how ping behaves.

Thanks, that would be more efficient overall.  I did a Google search for
that thread and couldn't find it.

David, you may want to send a report to perlbug AT perl DOT org.

-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.


--
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