X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=lib%2FUtils.pm;h=a5234613dedb350296fbfabea675e8e4f0c23065;hb=14ab87603ce863480c650c7edee2f56480568945;hp=1bed47b006b84bcdd300e06c008b1841714e4ca9;hpb=0a098660de8f2dbcf1aa727ebaaad1f7c3b42b3a;p=clearscm.git diff --git a/lib/Utils.pm b/lib/Utils.pm index 1bed47b..a523461 100644 --- a/lib/Utils.pm +++ b/lib/Utils.pm @@ -311,6 +311,41 @@ Returns: sub GetPassword (;$) { my ($prompt) = @_; + +=pod + +=head2 GetPassword (;$prompt) + +Prompt for a password + +Parameters: + +=for html
+ +=over + +=item $prompt + +Prompt string to use (Default: "Password:") + +=back + +=for html
+ +Returns: + +=for html
+ +=over + +=item $password + +=back + +=for html
+ +=cut + $prompt ||= 'Password';