in reply to Suppressing display of text in the screen
Hope this helps#!/usr/bin/perl use strict; use warnings; use Term::ReadKey; print "Enter password: "; ReadMode('noecho'); my $password = ReadLine(0); ReadMode('normal'); print "\nEntered $password";
|
|---|