in reply to OO Curses Messes Up Console on Exit

When I was messing around with Curses, I used the C docs, the Perl docs, and mostly just played around and tested things.

One thing I used that was handy was:

END { endwin(); }
at the top of my script, so if the script died for some reason (ie. SIGINT, die, etc.) instead of finishing properly endwin() would still be called and not mess up my display.