Author: chip Date: Sat Jul 1 11:26:44 2006 New Revision: 13093 Modified: trunk/docs/pdds/pdd23_exceptions.pod
Log: oops, restore namespace on exception class in example code Modified: trunk/docs/pdds/pdd23_exceptions.pod ============================================================================== --- trunk/docs/pdds/pdd23_exceptions.pod (original) +++ trunk/docs/pdds/pdd23_exceptions.pod Sat Jul 1 11:26:44 2006 @@ -356,8 +356,8 @@ $P0 = new String $P0 = "something bad happened" - $P1 = new ['exception'], $P0 # create new exception object - throw $P1 # throw it + $P1 = new ['parrot';'exception'], $P0 # create new exception object + throw $P1 # throw it Exceptions are designed to work with the Parrot calling conventions. Since the return addresses of C<bsr> subroutine calls and exception