Author: autrijus Date: Wed Apr 5 21:20:13 2006 New Revision: 8571 Modified: doc/trunk/design/syn/S02.pod
Log: * Damian noted that the S02 chunk about Code object doesn't quite make sense anymore; fixed the grammar and supplied two examples. Modified: doc/trunk/design/syn/S02.pod ============================================================================== --- doc/trunk/design/syn/S02.pod (original) +++ doc/trunk/design/syn/S02.pod Wed Apr 5 21:20:13 2006 @@ -444,9 +444,14 @@ Unlike in Perl 5, the notation C<&foo> merely returns the C<foo> function as a Code object without calling it. You may call any Code -object parens (which may, of course, contain arguments). Whitespace -is not allowed before the parens, but there is a corresponding C<.()> -operator, which allows you to insert optional whitespace before the dot. +object with parens after it (which may, of course, contain arguments): + + &foo($arg1, $arg2); + +Whitespace is not allowed before the parens, but there is a corresponding +C<.()> operator, which allows you to insert optional whitespace before the dot: + + &foo .($arg1, $arg2); =item *