in reply to Re^2: Seemingly Truncated Test Output with Coro, AnyEvent and Test2::V0
in thread Seemingly Truncated Test Output with Coro, AnyEvent and Test2::V0

Not what you asked about, but possibly related to your scenario, if you are starting a background daemon using an object and expecting the object destructor to shut down the daemon when the object goes out of scope, you need to make sure to undef the object before the end of the script. At the end of the script Perl enters "global destruction" and just starts running destructors in any old order, which then tend to fail because they wanted to look at data that already got garbage collected.

I'll let you confirm or deny this possibility before I speculate further.

  • Comment on Re^3: Seemingly Truncated Test Output with Coro, AnyEvent and Test2::V0