In addition to Term::Readkey, you may want to write up your own
linegetter with getc(STDIN). That way, you'll be able to trap
all of the deletes/backspaces w/o having any problems.
Isn't there a Readline module?
Comment on Re: How do I make password prompts not echo back the user?