Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

better prompt description

  • Loading branch information...
commit e6a6d574f29ed01ea6f4c9f003b7659a11f5d3ee 1 parent c532a74
@kraih authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  Changes
  2. +2 −2 lib/Mojo/Util.pm
View
2  Changes
@@ -1,7 +1,7 @@
3.48 2012-10-16
- Added prompt method to Mojo::ByteStream.
- - Added prompt function to Mojo::Util.
+ - Added prompt function to Mojo::Util. (jberger, sri)
- Improved Mojo::Content performance slightly.
- Improved cpanify command to prompt for password if necessary. (jberger)
- Fixed memory leak in Mojo::Headers.
View
4 lib/Mojo/Util.pm
@@ -537,8 +537,8 @@ Generate MD5 checksum for string.
my $string = prompt 'Password: ';
-Print string to C<STDOUT>, wait for user to type something on C<STDIN> and
-finish with an C<ENTER>, then return the string typed in wihout the trailing
+Print string to C<STDOUT>, wait for user to type something and finish with an
+C<ENTER> on C<STDIN>, then return the string typed in wihout the trailing
newline.
=head2 C<punycode_decode>
Please sign in to comment.
Something went wrong with that request. Please try again.