Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Best way to ask for password (cross-platform or Win32)

by kwaping (Priest)
on Jun 07, 2006 at 15:00 UTC ( #554040=note: print w/replies, xml ) Need Help??


in reply to Best way to ask for password (cross-platform or Win32)

it does not support printing "*" though

I checked the source, and it appears that it does. Try setting $Term::ReadPassword::USE_STARS = 1 and see what happens.

---
It's all fine and dandy until someone has to look at the code.

Replies are listed 'Best First'.
Re^2: Best way to ask for password (cross-platform or Win32)
by Eyck (Priest) on Jun 08, 2006 at 10:37 UTC
    I'm on 0.05, and it only appeared in 0.06:
    0.06  Sun Aug 28 13:07:00 2005
    	- Setting $Term::ReadPassword::USE_STARS to a true value now
    	  echoes stars for password characters.
    
    and it looks like Term::ReadPassword::Win32 does not support that yet.

    IO::Prompt looks OK though, but it loads a boatload of dependencies on Win32, and it still haven't installed itself, so I don't even know if it's working.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://554040]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (1)
As of 2020-10-25 19:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (249 votes). Check out past polls.

    Notices?