X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2FUtils.pm;h=a5234613dedb350296fbfabea675e8e4f0c23065;hb=9adc260943c74164d773180d7e0f3a09c88daa6d;hp=1bed47b006b84bcdd300e06c008b1841714e4ca9;hpb=904f72b4bab5316d12a5a39a8bf8515eb82bc88e;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';