Stas Bekman schrieb:
Marcel Greter wrote:
Stas Bekman schrieb:
... my $fileno = $connection->fileno(0);
vec(my $rin = '', $fileno, 1) = 1;
select(my $rout = $rin, undef, undef, 0);
Is this better that IO::Select in [2]?
It should do the same thing. IMHO IO::Select is just a
from the examples works correctly.
Also take a look at:
http://perl.apache.org/docs/1.0/guide/debug.html#Handling_the__User_pressed_Stop_button__case
It's directly related and should probably be merged into one item. or
at least xref each other.
I'm checking the return value of each print, so this should take care of
this case.
Marcel Greter
t fd, but under normal conditions they are both the same, right!?
-
http://perl.apache.org/docs/1.0/api/Apache.html#_c_E_gt_filenodirection___
-
http://perl.apache.org/docs/1.0/guide/snippets.html#Detecting_a_Client_Abort
Greetings,
Marcel Greter
cross all childs.
Maybe anyone of you knows how this could be done ??
thxs and greetings,
Marcel Greter
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html