I've just uploaded a new developer release of POE to PAUSE. You should see it at your favorite CPAN mirror in however long that sort of thing usually takes.

This version has accumulated a lot of change since July 2008, so I'm giving the CPAN testers a crack at it before I unleash it upon an unsuspecting public. You may wish to test it under controlled circumstances as well, and send any bug reports to [email protected].

IMPORTANT:

POE::Session no longer sets $^W=0 globally. Your programs may suddenly sprout new warnings. They were there all along, lurking under the surface, waiting to strike! POE 1.004 will rip aside the veil, exposing them to the harsh light of day. See my previous announcement. You have been warned! Twice now! Three or more times, if you're hanging out in irc.perl.org #poe.

Several warnings within POE and POE::Test::Loops (and some POE components) were cleared up after this. Many thanks to the #poe crowd for springing into action. :)

I've had problems installing Event, Tk and Gtk, so their loops haven't been properly tested. If you encounter trouble, please let me know via [email protected]. I'll try to turn around a fix quickly. More about this in my next message.

Other significant changes:

Apocalypse resolved the now-infamous F_GETFL and F_SETFL prototype warnings.

POE::NFA now supports object_states and package_states in addition to its inline_states. Also the runstate constructor parameter. Thank you, BinGOs.

Test fixes for edge cases with different event loops and platforms. Thank you, Rob Bloodgood, among others.

Apocalypse fixed a 30sec delay when exiting under TRACE_STATISTICS. He also added TRACE_PROFILE support for profiling individual sessions.

POE::Kernel gains a new convenience method, run_while():

run_while() is an B<experimental> version of run_one_timeslice() that will only return when there are no more active sessions, or the value of the referenced scalar becomes false.

    my $job_count = 3;

    sub handle_some_event {
      $job_count--;
    }

    $kernel->run_while(\$job_count);

And finally, the last of POE's documentation has been rewritten. This release contains all-new first-draft quality docs, with TODOs, errors and omissions. You're all invited to be my editors. Please submit doc problems, questions, confusions, or anything you don't like or understand to [email protected]. I can't promise to make everything perfect for everyone. If I can't (or won't) take your suggestion, I'll at least tell you why.

Thanks, everyone!

--
Rocco Caputo - [email protected]
  • ANN: POE 1.003_01 released (some breakage may occur) Rocco Caputo

Reply via email to