You will need to look at Term::Readline or Curses or any of the other "interactive" console things, or you can just implement it yourself using getc.
citromatik reminded me of the module whose name escaped me, Term::ReadKey.
In reply to Re^3: restriction in input
by Corion
in thread restriction in input
by irah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |