Re: help with map and regexp

2017-09-20 Thread Luca Ferrari
On Tue, Sep 19, 2017 at 2:43 PM, Timo Paulssen wrote: > perl6 -e '.perl.say for "hello, how, are, you".split(",").map: -> $_ > is copy { s:g/a//; s:g/^ \s|\s $/O/; $_ }' > "hello" > "Ohow" > "Ore" > "Oyou" Thanks. Out of cursiosity: what is the diffence between using "is copy"

bash and pm6 question

2017-09-20 Thread ToddAndMargo
Hi All, Can I call a pm6 directly from bash or do I need to call a pl6 that calls the pm6? Many thanks, -T -- ~~ Computers are like air conditioners. They malfunction when you open windows ~~

Re: Your posting is a bit unfortunate

2017-09-20 Thread R0b0t1
My apologies, I missed this message. The list volume is a bit high so I had to subscribe to the digest and that has limited my involvement. On Thu, Jul 27, 2017 at 3:36 AM, Joachim Durchholz wrote: > Hi Robot, > > Understanding your points, correlating them to past decisions, calling up > what th

Re: Any "note" without the "say"?

2017-09-20 Thread ToddAndMargo
On 09/18/2017 10:23 AM, Andy Bach wrote: Er, I was referring more to the P5 behaviour of warn() - w/o a newline, its output, to stderr, included more info: $ perl -e 'warn("hi mom")' > /dev/null hi mom at -e line 1. $ perl -e 'warn("hi mom\n")' > /dev/null hi mom "note" appears to append a

[perl #132135] IO::Socket::Async's socket-port and peer-port are incorrect

2017-09-20 Thread via RT
# New Ticket Created by Justin DeVuyst # Please include the string: [perl #132135] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=132135 > [jdv@new-host-2 ~]$ perl6 -e 'start react whenever IO::Socket::Async.listen(<0.0.0.0>,

Re: can't adverb and infix

2017-09-20 Thread Elizabeth Mattijsen
> On 19 Sep 2017, at 13:04, Brandon Allbery wrote: > > On Tue, Sep 19, 2017 at 3:44 AM, Luca Ferrari wrote: > this will sound trivial, but the following piece of code that in my > mind should work does not: > > $mode = 'csv' if ( ! $mode.defined || %available_modes{ $mode }:!exists ); > > and

[perl #132073] [BUG] isa method errors when called on a subset type object

2017-09-20 Thread David Warring via RT
Final issues resolved with https://github.com/rakudo/rakudo/commit/cee1be22cff6153506e31df2916f8a0be27b5fc8 On Sat, 16 Sep 2017 12:12:35 -0700, david.warring wrote: > Tests added with roast commit > https://github.com/perl6/roast/commit/d776a06e52c35d6cbb7b7bbade7b7a15b97ecff8 > > One remaining