Skip to content

Commit

Permalink
mention that not just GET/POST parameters can have multiple values
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed May 15, 2013
1 parent ad31e23 commit b117009
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Changes
@@ -1,4 +1,7 @@

4.01 2013-05-16
- Improved documentation.

4.0 2013-05-15
- Code name "Top Hat", this is a major release.
- Added simple JSON serialization and deserialization support to
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious.pm
Expand Up @@ -41,7 +41,7 @@ has static => sub { Mojolicious::Static->new };
has types => sub { Mojolicious::Types->new };

our $CODENAME = 'Top Hat';
our $VERSION = '4.0';
our $VERSION = '4.01';

sub AUTOLOAD {
my $self = shift;
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojolicious/Controller.pm
Expand Up @@ -600,8 +600,8 @@ L<Mojo::Transaction::WebSocket> object.
Access GET/POST parameters, file uploads and route placeholder values that are
not reserved stash values. Note that this method is context sensitive in some
cases and therefore needs to be used with care, every GET/POST parameter can
have multiple values, which might have unexpected consequences.
cases and therefore needs to be used with care, there can always be multiple
values, which might have unexpected consequences.
# List context is ambiguous and should be avoided
my $hash = {foo => $self->param('foo')};
Expand Down

0 comments on commit b117009

Please sign in to comment.