Author: kjs Date: Wed Aug 20 07:13:25 2008 New Revision: 30378 Modified: trunk/docs/pdds/pdd19_pir.pod
Log: [pdd19] document :instanceof pragma. pmichaud++ for writing it Modified: trunk/docs/pdds/pdd19_pir.pod ============================================================================== --- trunk/docs/pdds/pdd19_pir.pod (original) +++ trunk/docs/pdds/pdd19_pir.pod Wed Aug 20 07:13:25 2008 @@ -510,6 +510,13 @@ subroutines in the file may have the same name (because they are multi, or in different namespaces). +=item :instanceof( <string_constant> ) + +The C<:instanceof> pragma is an experimental pragma that creates a sub as a +PMC type other than 'Sub'. However, as currently implemented it doesn't +work well with C<:outer> or existing PMC types such as C<Closure>, +C<Coroutine>, etc. + =back