Coro::async resets currently selected filehandle

Marc Lehmann schmorp at schmorp.de
Wed Oct 1 16:08:32 CEST 2014


On Wed, Oct 01, 2014 at 01:59:11PM +0200, Mark Lawrence <nomad at null.net> wrote:
> I discover that $inside is not the same as $outside which is not what I
> would have expected. Is this by design?

The default filehandle is per-coro, in the same way as $_, @_ and a few
other things. The exact list is in the description for "new Coro::State"
in the Coro::State manpage, which is mentioned in the DESCRIPTION section
in the Coro manpage.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\



More information about the anyevent mailing list