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, s
Sorry, the code I poste was bad. The valid form is:
$P1 = new ['Exception'], $P0 # create new exception object
--
Salu2
After some brief comment on irc, applied in r30833
--
Salu2
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
>
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
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 wo
# New Ticket Created by Patrick R. Michaud
# Please include the string: [perl #48320]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=48320 >
At the bottom of pdd23 there's an example of creating
and throwing an exception th