kraih/mojo — pull request #397 by jberger (2012-10-15 20:22:00+00:00)
Title: added prompt_password which uses Term::ReadKey or goto &prompt

Yet another patch to allow Term::ReadKey to hide a password after prompting (#394). This one creates a `prompt_password` function in Mojo::Util which calls `prompt` but wraps it in calls to ReadMode to suppress the output. While this mechanism would work in external modules, again, my aim is to hide the password in `mojo cpanify`.