Sunday, February 03 2013

Just a while ago I wrote about
a bug in Curses::UI::Notebook delete_page. Well, shucks, I found another. This one will puke up the
error The notebook already has a page named... whatever previously
used and then deleted name you've chosen.

This bug manifests itself as widget (page) objects not actually being
removed from the UI::Curses::Container object by UI::Curses::Notebook.
The page/tab disappears but the object itself hangs around, so if you
try to reuse the name your application dies. To duplicate:

Never mind the use of the undocumented features set_timer()
and delete_timer() for now. I'll 'splain 'em momentarily.
They're very handy. I'm a source code reading fool but if you haven't
seen it yet I'll save you the bother. First, though: