From: Lukas Mai Date: Sat, 23 Jun 2012 10:35:52 +0000 (+0200) Subject: fix broken links in POD X-Git-Tag: v0.06_01~9 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=95915793e28df7b31db1d55c5d2f570af6af5ab0;p=p5sagit%2FFunction-Parameters.git fix broken links in POD --- diff --git a/lib/Function/Parameters.pm b/lib/Function/Parameters.pm index b0d2b2b..305f9ec 100644 --- a/lib/Function/Parameters.pm +++ b/lib/Function/Parameters.pm @@ -214,7 +214,7 @@ list consists of comma-separated variables. The effect of C is as if you'd written C, i.e. the parameter list is simply -copied into L and initialized from L<@_|perlvar/"@_">. +copied into L and initialized from L<@_|perlvar/"@_">. In addition you can use C, which understands the same syntax as C but automatically creates a C<$self> variable for you. So by writing @@ -415,7 +415,7 @@ so the parser knows the name (and possibly prototype) while it processes the body. Thus C really turns into C. -If you need L, you can +If you need L, you can put them after the parameter list with their usual syntax. Syntactically, these new parameter lists live in the spot normally occupied @@ -466,7 +466,8 @@ And the generated code: If you want to wrap L, you just have to call its C method. It always applies to the file that is currently being parsed -and its effects are lexical (i.e. it works like L or L): +and its effects are L (i.e. it works like L or +L). package Some::Wrapper; use Function::Parameters ();