Re: augment again

2018-10-20 Thread Elizabeth Mattijsen
> On 20 Oct 2018, at 17:50, Joseph Brenner wrote: > > By the way, I'd really like to know what the vertical bar is here in > front of "CORE": > >> for (|CORE::) .grep({ .key eq .value.^name }) .map( *.value ) -> $class { > > It's not the "any" junction, is it? How would that make sense

Re: I need unprintable regex help

2018-10-20 Thread Brandon Allbery
The escape sequence \x allows you to embed characters by their code. "\x0D\x0A" is the same as the variable. I'm not sure what you thought I was showing you on IRC last night, since I pointed this out multiple times. On Sat, Oct 20, 2018 at 3:43 AM ToddAndMargo via perl6-users <

Re: augment again

2018-10-20 Thread Joseph Brenner
By the way, I'd really like to know what the vertical bar is here in front of "CORE": > for (|CORE::) .grep({ .key eq .value.^name }) .map( *.value ) -> $class { It's not the "any" junction, is it? How would that make sense here? On 10/19/18, Joseph Brenner wrote: > Okay, good enough... if

Re: augment again

2018-10-20 Thread Joseph Brenner
I think I see, but, just to be clear I'm planning on doing an augment on the command-line via -M when going into the repl. Things that happen *after* I've initialized the repl don't need to be recomposed, because they'll happen after the augment anyway. I also don't particularly need the methods

Re: augment again

2018-10-20 Thread Elizabeth Mattijsen
It is a good start, but you will only see classes that have been bound to a pad somewhere. There are many classes that are just created on the fly that won’t be seen, as the parents do not know about their children. For example, a little bit contrived, but hopefully gets the point across:

Re: Malformed UTF-8 ???

2018-10-20 Thread ToddAndMargo via perl6-users
On 10/19/18 7:58 PM, ToddAndMargo via perl6-users wrote: if    $StdErr  { $proc  = run( @RunArray, :err, :out, :enc ); }    elsif $StdOut  { $proc  = run( @RunArray,   :out, :enc ); }  # STDERR goes to the terminal    else   { $proc  = run( @RunArray, :err, :out, :enc 

I need unprintable regex help

2018-10-20 Thread ToddAndMargo via perl6-users
Hi All, my Str $CrLf = chr(0x0d) ~ chr(0x0a); $String ~~ s:global/ $CrLf /\n/; How do I get rid of the extra $CrLf variable? Many thanks, -T