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.
When's the last time you used duct tape on a duct? --Larry Wall
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.