Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by kwaping (Priest)
on Jun 07, 2006 at 15:00 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://554040]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-03-29 06:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found