[perl #48320] [BUG] Example in pdd23 doesn't work

2008-09-07 Thread Christoph Otto via RT
On Sat Sep 06 15:51:16 2008, julianalbo wrote: Sorry, the code I poste was bad. The valid form is: $P1 = new ['Exception'], $P0 # create new exception object I've changed the example code to use the more common syntax without brackets: $P1 = new 'Exception', $P0 . The code works now, so

[perl #48320] [BUG] Example in pdd23 doesn't work

2008-09-06 Thread Christoph Otto via RT
On Sat Feb 16 17:23:47 2008, coke wrote: The example in the PDD now reads: $P0 = new 'String' $P0 = something bad happened $P1 = new ['parrot';'exception'], $P0 # create new exception object throw $P1 # throw it This code continues to not work.

[perl #48320] [BUG] Example in pdd23 doesn't work

2008-09-06 Thread Bob Rogers
From: Christoph Otto via RT [EMAIL PROTECTED] Date: Fri, 05 Sep 2008 18:34:51 -0700 This code continues to not work. Would it be DTRT to copy/pasta some code . . . Only if it's not spaghetti code. ;-} -- Bob Rogers

Re: [perl #48320] [BUG] Example in pdd23 doesn't work

2008-09-06 Thread NotFound
On Sat, Sep 6, 2008 at 3:34 AM, Christoph Otto via RT [EMAIL PROTECTED] wrote: On Sat Feb 16 17:23:47 2008, coke wrote: The example in the PDD now reads: $P0 = new 'String' $P0 = something bad happened $P1 = new ['parrot';'exception'], $P0 # create new exception object throw $P1

Re: [perl #48320] [BUG] Example in pdd23 doesn't work

2008-09-06 Thread NotFound
After some brief comment on irc, applied in r30833 -- Salu2

Re: [perl #48320] [BUG] Example in pdd23 doesn't work

2008-09-06 Thread NotFound
Sorry, the code I poste was bad. The valid form is: $P1 = new ['Exception'], $P0 # create new exception object -- Salu2

[perl #48320] [BUG] Example in pdd23 doesn't work

2007-12-07 Thread via RT
# New Ticket Created by Patrick R. Michaud # Please include the string: [perl #48320] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=48320 At the bottom of pdd23 there's an example of creating and throwing an