Re: .payload

2019-03-01 Thread ToddAndMargo via perl6-users
On 3/1/19 11:58 AM, ToddAndMargo via perl6-users wrote: On 2/28/19 3:46 AM, ToddAndMargo via perl6-users wrote: Follow up.  Thank yo for the Help!  My rewrite: CATCH {    # Reference: https://docs.perl6.org/language/exceptions#Catching_exceptions    my $Message = .message;    my

Re: .payload

2019-03-01 Thread ToddAndMargo via perl6-users
On 2/28/19 3:46 AM, ToddAndMargo via perl6-users wrote: Follow up. Thank yo for the Help! My rewrite: CATCH { # Reference: https://docs.perl6.org/language/exceptions#Catching_exceptions my $Message = .message; my $Message2; # for $Payload.comb -> $y { print "$y=", ord( $y ), "

Re: .payload

2019-02-28 Thread Todd Chester via perl6-users
On 2/28/19 2:06 PM, Timo Paulssen wrote: I just changed the docs to replace payload with message here. It's not a language bug, however. Here's the change on github: https://github.com/perl6/doc/commit/fb5d341036afe387f0ead0b76e09aef75205dcaf You are a force of nature Timo! :-)

Re: .payload

2019-02-28 Thread Timo Paulssen
I just changed the docs to replace payload with message here. It's not a language bug, however. Here's the change on github:     https://github.com/perl6/doc/commit/fb5d341036afe387f0ead0b76e09aef75205dcaf On 28/02/2019 21:54, ToddAndMargo via perl6-users wrote: > >> On 28/02/2

Re: .payload

2019-02-28 Thread ToddAndMargo via perl6-users
On 28/02/2019 12:46, ToddAndMargo via perl6-users wrote: Hi All, https://docs.perl6.org/language/exceptions#Catching_exceptions I am trying to place .payload into a variable `my $Payload = .payload;` CATCH {    # Reference: https://docs.perl6.org/language/exceptions#Catching_exceptions

Re: .payload

2019-02-28 Thread Timo Paulssen
As you can see from the routine page for "payload":     https://docs.perl6.org/routine/payload it only exists on X::AdHoc, which if you follow the link "from X::AdHoc" explains:     X::AdHoc is the type into which objects are wrapped if they are thrown as exceptions, bu

.payload

2019-02-28 Thread ToddAndMargo via perl6-users
Hi All, https://docs.perl6.org/language/exceptions#Catching_exceptions I am trying to place .payload into a variable `my $Payload = .payload;` CATCH { # Reference: https://docs.perl6.org/language/exceptions#Catching_exceptions my $NotifyStr; my $Payload = .payload; default