in reply to perl UI

If you need a basic UI functionality under text-mode (console), please take a look at the following article:
Creating Text Mode User Interfaces with PERL
(http://www2.zdo.com/archives/1-Creating-Text-Mode-User-Interfaces-with-PERL.html)