in reply to Prompt for password and display it as asterisks (******)

Howdy!

This is code I use.

use IO::Prompt; my $pswd = prompt("password for <your name here>: ", -e => '*');
The -e flag gives the character to echo.

yours,
Michael