Author: allison
Date: Fri Aug  3 23:48:13 2007
New Revision: 20471

Modified:
   trunk/docs/pdds/pdd15_objects.pod

Log:
[pdd] Add a vtable function for adding vtable overrides to classes and roles.


Modified: trunk/docs/pdds/pdd15_objects.pod
==============================================================================
--- trunk/docs/pdds/pdd15_objects.pod   (original)
+++ trunk/docs/pdds/pdd15_objects.pod   Fri Aug  3 23:48:13 2007
@@ -315,6 +315,10 @@
 
 Add a method to the class.
 
+=item add_vtable_override(string *, vtable_sub *)
+
+Add a vtable override to the class.
+
 =item add_attribute(string *, key *)
 
 Add an attribute to the class.
@@ -458,6 +462,7 @@
 =item add_method
 
   $P1.add_method($S2, $P3)
+  $P1.add_method($S2, $P3, 'vtable' => 1)
 
 Adds a method to the class. It takes a simple string name and a method
 PMC.  If the method already exists (and isn't a Multi) it will replace
@@ -708,6 +713,10 @@
 
 Add a method to the role.
 
+=item add_vtable_override(string *, vtable_sub *)
+
+Add a vtable override to the role.
+
 =item add_attribute(string *, key *)
 
 Add an attribute to the role.
@@ -826,6 +835,7 @@
 =item add_method
 
   $P1.add_method($S2, $P3)
+  $P1.add_method($S2, $P3, 'vtable' => 1)
 
 Adds a method to the role. It takes a simple string name and a method
 PMC. If the method already exists (and isn't a Multi) it will replace

Reply via email to