From: Karen Etheridge Date: Sat, 23 Oct 2010 17:46:35 +0000 (-0700) Subject: minor doc corrections X-Git-Tag: v0.15~12 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f5e350c10b1bd97315e9fe6679091496f5604dbc;p=gitmo%2FMooseX-Params-Validate.git minor doc corrections --- diff --git a/lib/MooseX/Params/Validate.pm b/lib/MooseX/Params/Validate.pm index 2379008..b7293e5 100644 --- a/lib/MooseX/Params/Validate.pm +++ b/lib/MooseX/Params/Validate.pm @@ -249,7 +249,7 @@ MooseX::Params::Validate - an extension of Params::Validate for using Moose's ty \@_, bar => { isa => 'Str', default => 'Moose' }, ); - return "Horray for $params{bar}!"; + return "Hooray for $params{bar}!"; } sub bar { @@ -270,11 +270,11 @@ to Moose. This is just one of many developing options, it should not be considered the "official" one by any means though. You might also want to explore C and -C +C. =head1 CAVEATS -It is not possible to introspect the method parameter specs, they are +It is not possible to introspect the method parameter specs; they are created as needed when the method is called and cached for subsequent calls. @@ -284,9 +284,9 @@ calls. =item B -This behaves similar to the standard Params::Validate C +This behaves similarly to the standard Params::Validate C function and returns the captured values in a HASH. The one exception -being that if it spots an instance in the C<@_>, then it will handle +is where if it spots an instance in the C<@_>, then it will handle it appropriately (unlike Params::Validate which forces you to shift you C<$self> first).