in reply to Disable echo

I believe Term::ReadKey is cross-platform.

Also, here's a thread about reading passwords: Reading a password with Term::ReadLine