Friday, July 31, 2009

Working in perl to creating a tool , when password entered it is visible.how to hide?

The perl tool asks for username and password in console, when the password is entered the user finds the password not hidden,for unix systems that is done by -echo,for windows i need a solution to hide it or mask it with ******** or

Working in perl to creating a tool , when password entered it is visible.how to hide?

Reply:
Reply:| or even blank is ok.


Please help in providing the solution for this.


revert if the query is not clear


Thanks.
Reply:Hello,





use Term::ReadPassword::Win32;


http://search.cpan.org/~ktakata/Term-Rea...





use Term::ReadPassword;


http://search.cpan.org/author/PHOENIX/Te...





Best wishes, Mel


No comments:

Post a Comment