tcf03 has asked for the wisdom of the Perl Monks concerning the following question:

What modules or methods can be used to keep a menu screen static - ie
a - option a b - option b c - option c d - option d 9 - quit --- output appears here ---
When a new option is chosen, Id like the output to update. Not like this:
--- output appears here --- --- output appears here --- <-- after a second key is pressed --- output appears here --- <-- after a third key is pressed
any pointers are greatly appreciated. I don't have any code - Its a project im about to begin...

Ted
--
"That which we persist in doing becomes easier, not that the task itself has become easier, but that our ability to perform it has improved."
  --Ralph Waldo Emerson

Replies are listed 'Best First'.
Re: Static display
by ikegami (Patriarch) on Jul 21, 2005 at 15:17 UTC
Re: Static display
by Fletch (Bishop) on Jul 21, 2005 at 15:13 UTC

    Presuming you're talking for a TTY, Curses. There's also Term::Visual which plays nice with POE (I believe).

    --
    We're looking for people in ATL

      In Curses's compatability section, no mention is made to platform compatability. Any idea if this module supports Windows?

        To coin a phrase, I don't do Windows . . . :) But judging by the ncurses FAQ that will compile under cygwin, so you could at least use it that way.

        --
        We're looking for people in ATL

Re: Static display
by Tanktalus (Canon) on Jul 21, 2005 at 15:14 UTC

    I would start this type of project by looking at CPAN for Curses. There are a number of options which come up, but I'm not sure which one is right for you.

    Side question - which platform(s) are you doing this on?