ColonelPanic has asked for the wisdom of the Perl Monks concerning the following question:
Dear Fellow Monks,
I have scripts that connect to a database, and I want to let the user type a password without it being seen on the screen. I know this is a common issue, and the normal solutions are available all over the place (here, for example): either disable terminal echo with system commands, or use Term::ReadKey.
However, my problem is that I run my scripts in Eclipse (using the EPIC plugin). I/O goes through Eclipse's own terminal, which is not accesible through either of these methods.
I wondered if there was a module that creates a simple username/password dialog that could be added to a script in drop-in fashion, without me having to add a bunch of GUI handling to the script. This seems like an obvious, useful idea, but I wasn't able to find anything on CPAN.
Thanks in advance for your help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Drop-In Password Dialog?
by zentara (Cardinal) on Nov 28, 2012 at 15:40 UTC | |
by ColonelPanic (Friar) on Nov 29, 2012 at 06:32 UTC | |
by ColonelPanic (Friar) on Dec 03, 2012 at 15:07 UTC | |
|
Re: Drop-In Password Dialog?
by tobyink (Canon) on Nov 28, 2012 at 17:17 UTC | |
by ColonelPanic (Friar) on Nov 29, 2012 at 06:35 UTC | |
by tobyink (Canon) on Dec 01, 2012 at 21:28 UTC | |
by ColonelPanic (Friar) on Dec 03, 2012 at 15:10 UTC | |
by tobyink (Canon) on Dec 03, 2012 at 16:32 UTC | |
|