Author: kjs Date: Tue Aug 26 04:24:18 2008 New Revision: 30568 Modified: trunk/docs/pdds/pdd19_pir.pod
Log: [pdd19] add a comment that PIR keywords cannot be used as PIR identifiers (as opposed to opcode names, which are allowed). Modified: trunk/docs/pdds/pdd19_pir.pod ============================================================================== --- trunk/docs/pdds/pdd19_pir.pod (original) +++ trunk/docs/pdds/pdd19_pir.pod Tue Aug 26 04:24:18 2008 @@ -63,6 +63,10 @@ Opcode names are not reserved words in PIR, and may be used as variable names. For example, you can define a local variable named C<print>. [See RT #24251] +PIR keywords, on the other hand, I<are> reserved, and cannot be used as +identifiers. Some opcode names (C<if>, C<unless>) are, in fact, PIR keywords, +which therefore cannot be used as identifiers. + {{ NOTE: The use of C<::> in identifiers is deprecated. [See RT #48735] }} =head3 Labels