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/
