Skip to content

Commit

Permalink
Merge pull request #37 from lucasbuchala/patch-1
Browse files Browse the repository at this point in the history
Correct variable name in the documentation of Type::Params
  • Loading branch information
tobyink committed Feb 8, 2017
2 parents a39e21c + d1bb1cb commit 174608b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Type/Params.pm
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ example from the SYNOPSIS could be rewritten as:
sub deposit_monies
{
$deposit_monies_check ||= compile( Str, Str, slurpy ArrayRef[Num] );
my ($sort_code, $account_number, $monies) = $check->(@_);
my ($sort_code, $account_number, $monies) = $deposit_monies_check->(@_);
...;
}
Expand Down

0 comments on commit 174608b

Please sign in to comment.