Read password without displaying anything
use Term::ReadKey; print "Type your password: "; ReadMode('noecho'); $password = ReadLine(0);