Exception Handling (Was Re: More bugs or PEBKAC)

2011-09-07 Thread David Romano
On 09/05/2011 12:27, Moritz Lenz wrote: FWIW the current factoring allows the catcher of the exception to control whether a backtrace is printed. A solution is thus to catch exceptions on the outermost level of your program, and print the exception (but not the backtrace) there. A cheap (but pro

Re: More bugs or PEBKAC

2011-09-06 Thread Parrot Raiser
Thanks for the responses, and my apologies for the duplication. (Google started raising objections to my account, and I thought I was locked out.) On 9/5/11, Carl Mäsak wrote: > 1parrota (>): >> 1. Should there be a way to make "die" behave like the Perl 5 version, > > Yes, there should. > There'

Re: More bugs or PEBKAC

2011-09-05 Thread Moritz Lenz
On 09/05/2011 09:03 PM, Carl Mäsak wrote: > 1parrota (>): >> 1. Should there be a way to make "die" behave like the Perl 5 version, >> reporting the place of death unless the message is terminated by \n ? >> The \n no longer suppresses the location indormation. I can't find a >> definition either w

Re: More bugs or PEBKAC

2011-09-05 Thread Carl Mäsak
1parrota (>>), Carl (>): >> $ perl6 -e 'say "Yo"; if !{...}  { say "Bye"} ' >> Yo >> $ perl6 -e 'say "Yo"; if {...}  { say "Bye"} ' >> Yo >> Bye >> #       The opposite to what I'd expect, if ... returns failure > > Same base cause as your first example above. Similarly wrong. Oops, I jumped the g

Re: More bugs or PEBKAC

2011-09-05 Thread Stefan O'Rear
On Mon, Sep 05, 2011 at 11:03:08AM -0400, aroc...@vex.net wrote: > 1. Should there be a way to make "die" behave like the Perl 5 version, > reporting the place of death unless the message is terminated by \n ? > The \n no longer suppresses the location indormation. I can't find a > definition eithe

Re: More bugs or PEBKAC

2011-09-05 Thread Carl Mäsak
1parrota (>): > 1. Should there be a way to make "die" behave like the Perl 5 version, > reporting the place of death unless the message is terminated by \n ? > The \n no longer suppresses the location indormation. I can't find a > definition either way in the Synopses. Yes, there should. The pro

More bugs or PEBKAC

2011-09-05 Thread 1parrota
1. Should there be a way to make "die" behave like the Perl 5 version, reporting the place of death unless the message is terminated by \n ? The \n no longer suppresses the location indormation. I can't find a definition either way in the Synopses. 2. The following code (c_to_f) is broken: (I subs

More bugs or PEBKAC

2011-09-05 Thread arocker
1. Should there be a way to make "die" behave like the Perl 5 version, reporting the place of death unless the message is terminated by \n ? The \n no longer suppresses the location indormation. I can't find a definition either way in the Synopses. 2. The following code (c_to_f) is broken: (I sub