Permalink
Browse files

Fix small typo in example code

  • Loading branch information...
1 parent a797248 commit 07507216f2f6d36b02abbad5c61402d6aba53dc8 @autarch autarch committed Feb 24, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Params/Validate.pm
View
@@ -567,7 +567,7 @@ You can also use the C<state> feature to do this:
sub foo {
state $spec = { ... };
- my %params = validate( @_, \%spec );
+ my %params = validate( @_, $spec );
}
=head1 "GLOBAL" OPTIONS

0 comments on commit 0750721

Please sign in to comment.