This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Trouble running Perl script that require root privilege


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

> Michael A Chase wrote:
> > On Tue, 6 Aug 2002 12:43:13 -0400  "Humes, David  G."
> > <David.Humes@jhuapl.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@perl.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]