AnyEvent->child() with no pid arg

Marc Lehmann schmorp at schmorp.de
Fri Apr 29 09:51:02 CEST 2011


On Thu, Apr 28, 2011 at 06:46:04AM +1000, Kevin Ryde <user42 at zip.com.au> wrote:
> Is the AnyEvent->child() code supposed to notice a missing "pid"

No, if you want any kind of error checking, you are supposed to use
AnyEvent::Strict (or PERL_ANYEVENT_STRICT) which will catch both missign
and undef pid arguments.

-- 
                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