Hi Rocco,
sorry for the late answer - I am not using ActivePerl.
I use the last recent version of Tk, 800.024.
Best regards,
Markus
>Date: Fri, 18 Jul 2003 14:08:40 -0400
>From: Rocco Caputo <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: POE beginner's question - use both Tk and HTTP server
>
>On Fri, Jul 18, 2003 at 09:50:21AM +0200, Markus Jansen wrote:
>> Hello POE experts,
>>
>> I am just a bloody beginner with POE (though not with Perl),
>> and I would like to create an application which
>> - is steered via a GUI (Tk)
>> - should run lots of asynchronous/parallel stuff
>> - reports results/states etc via HTTP
>>
>> However, when I try to start up both the Tk example and one of the
>> Web servers from the cookbook within one POE session
>> (code see attachment), the first HHTP request causes a POE crash,
>> with the output listed below.
>>
>> Of course the standalone cookbook examples do work very well.
>> Any help/comment is appreciated.
>>
>> I am using Perl 5.8.0 on Solaris, with PerlIO.
>[...]
>> Tk::Error: fileno not same for read 6 and write 7 at
>>
/vobs/eccs_dev_perl/perl_for_sixtyfive_characters_max_pathlength/prod/lib/site_p
>> erl/5.8.0/sun4-solaris/Tk/Event/IO.pm line 115.
>
>I've seen this with ActivePerl for Windows. Two different handles to
>the same file are reporting different fileno() values. They should (and
>in most environments do) report the same fileno() since they're handles
>to the same underlying file. I don't know what's causing Perl to report
>different ones.
>
>Some possibilities:
>
>ActiveState is doing something strange? That would be ruled out if
>you're not using ActivePerl.
>
>PerlIO is doing something strange? That's possible; I think ActivePerl
>uses PerlIO. We probably should report it if that's the case.
>
>-- Rocco Caputo - [EMAIL PROTECTED] - http://poe.perl.org/
--
Markus Jansen Senior IS/IT Support Engineer, EED/IT
Ericsson Eurolab Deutschland GmbH Email : [EMAIL PROTECTED]
Ericsson Allee 1 Phone : +49 2407 575 5157
52134 Herzogenrath Fax : +49 2407 575 7289
Germany Mobile: +49 172 274 2003