This is the mail archive of the
mailing list for the Cygwin project.
Re: file event in perl-Tk on cygwin (using POE)
- From: "Gerrit P. Haase" <gp at familiehaase dot de>
- To: Bob dot Smart at csiro dot au
- Cc: cygwin at cygwin dot com, ptk at lists dot stanford dot edu, poe at perl dot org
- Date: Sun, 8 Jun 2003 22:59:32 +0200
- Subject: Re: file event in perl-Tk on cygwin (using POE)
- Organization: Esse keine toten Tiere
- References: <CCB2683E47559142B2DFE0768181A5BBD82429@campaspe-cq.vic.cmis.CSIRO.AU>
> What happens there is that a sub FILENO:
> sub FILENO
> my $obj = shift;
> my $h = $obj->handle;
> return fileno($h);
> the final call to fileno actually goes straight
> back into FILENO. [I tried putting CORE:: in front
> but that made no difference]. So it looks like
> $obj->handle returns $obj instead of something
> more basic. I've tried both win32 and x11 versions
> of Tk800.023-1 which seems to be the last cygwin
> compatible version.
> So I guess my questions are:
> 1. Will I do better with other versions of cygwin,
> perl, perl-Tk, POE?
> 2. Any suggestions for fixes?
Is there a sub fileno and a sub FILENO?
> 3. Any suggestions for workarounds?
Try to rename fileno() or FILENO() to s.th different.
> 4. Any suggestions for where to look to try to fix it?
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html