http://qs321.pair.com?node_id=554040


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.