Mega Code Archive

 
Categories / Perl / System Functions
 

Read password without displaying anything

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