Author: lwall Date: 2009-11-02 17:41:09 +0100 (Mon, 02 Nov 2009) New Revision: 28974
Modified: docs/Perl6/Spec/S06-routines.pod Log: [S06] clear up definition of 'is ref' Modified: docs/Perl6/Spec/S06-routines.pod =================================================================== --- docs/Perl6/Spec/S06-routines.pod 2009-11-02 16:31:00 UTC (rev 28973) +++ docs/Perl6/Spec/S06-routines.pod 2009-11-02 16:41:09 UTC (rev 28974) @@ -1998,9 +1998,10 @@ =item C<is ref> -Specifies that the parameter is passed by reference. Unlike C<is rw>, the -corresponding argument must already be a suitable lvalue. No attempt at -coercion or autovivification is made, so unsuitable values throw an +Specifies that the parameter is passed by reference (that is, +as an C<Object>). You may modify the argument, but only if +argument is already a suitable lvalue. Unlike C<rw>, no attempt +at autovivification is made, so unsuitable lvalues will throw an exception if you try to modify them within the body of the routine. =item C<is copy>