Coro::async resets currently selected filehandle

Mark Lawrence nomad at null.net
Wed Oct 1 13:59:11 CEST 2014


Given the following situation:

    select $my_file_handle;
    my $outside = fileno select;

    async {
        my $inside = fileno select;
    };

I discover that $inside is not the same as $outside which is not what I
would have expected. Is this by design? I couldn't find any mention of
this behaviour in the documentation.

-- 
Mark Lawrence



More information about the anyevent mailing list