in reply to Menu's in perl
Log in where?
To a console? A couple of solutions have been posted already.
To a GUI? Perhaps Tk or Wx.
To a website? CGI::Application and Catalyst suggest themselves.