in reply to hiding input
printf("Enter word :"); chomp($visible_word = <STDIN>>); #### you can see what you are typin +g ... printf("\n"); system("stty -echo"); chomp($passwd = <STDIN>); #### this won't be visible on screen ... printf("\n"); system("stty echo");
|
|---|