perl6-users in groups.google.com

2018-09-06 Thread Ralph Mellor
Does anyone know the mysteries of groups.google.com? Will the messages I'm posting here eventually turn up at https://groups.google.com/forum/#!forum/perl.perl6.users? I sent a bunch of messages via the groups.google.com interface and they disappeared into the void. I searched for the generic

Re: Handing over control

2018-09-06 Thread Curt Tilmes
> > >>> >> On 3 Sep 2018, at 18:41, Parrot Raiser <1parr...@gmail.com> wrote: >> >>> >> In Perl 5, a program can hand over control to another with exec: >> >>> >> https://perldoc.perl.org/functions/exec.html >> >>> >> e.g perl -e 'exec vim' opens up vim >> >>> >> >> >>> >> What's the Perl 6

Re: use Moo:from;

2018-09-06 Thread Simon Proctor
Well I got a bit further but I am also thinking about how I'd do it. On Thu, 6 Sep 2018, 14:47 Vadim Belman, wrote: > > > 1. There is currently a bug (or bugs) about wrapped methods – > https://github.com/rakudo/rakudo/issues/2178 > get_value() is unlikely to be wrapped. But potential issues

Re: Introducing P6 into a P5 user environment

2018-09-06 Thread Parrot Raiser
As an exercise, I'm porting some small coding utilities written in P5 to P6, and it's interesting how much less code is required, even using what I suspect will seem embarrassingly naive P6 code in a little while. On 9/5/18, Vadim Belman wrote: > Let me correct you in one aspect. It's not my

Re: use Moo:from;

2018-09-06 Thread Vadim Belman
> 1. There is currently a bug (or bugs) about wrapped methods – > https://github.com/rakudo/rakudo/issues/2178 > > get_value() is unlikely to be wrapped. But potential issues are possible as > it seems that the bug is not only related to method

Re: use Moo:from;

2018-09-06 Thread Vadim Belman
Here is the problematic points of your code: 1. There is currently a bug (or bugs) about wrapped methods – https://github.com/rakudo/rakudo/issues/2178 get_value() is unlikely to be wrapped. But potential issues are possible as it seems that the bug is not only related to method inheritance.

Re: use Moo:from;

2018-09-06 Thread Simon Proctor
Done a bit of noodling about this morning and I got this. And it works sort of. .perl calls the get_value method but the accessor and private value reads don't. (I'm guessing this is what you came up against Vadim?) Still the self deleting wrapper is a fun trick. Best I do some work now