On Tue, Jun 13, 2017 at 9:33 PM, Elizabeth Mattijsen wrote:
>> On Tue, Jun 13, 2017 at 8:50 PM, Elizabeth Mattijsen wrote:
On 13 Jun 2017, at 19:34, Gabor Szabo wrote:
I just managed to write
while True {
...
break if $code eq 'exit';
...
}
> On Tue, Jun 13, 2017 at 8:50 PM, Elizabeth Mattijsen wrote:
>>> On 13 Jun 2017, at 19:34, Gabor Szabo wrote:
>>>
>>> I just managed to write
>>>
>>> while True {
>>> ...
>>> break if $code eq 'exit';
>>> ...
>>> }
>>>
>>>
>>> I wonder if Rakudo could be more cleaver in this particular
On Tue, Jun 13, 2017 at 8:50 PM, Elizabeth Mattijsen wrote:
>
>> On 13 Jun 2017, at 19:34, Gabor Szabo wrote:
>>
>> I just managed to write
>>
>> while True {
>>...
>>break if $code eq 'exit';
>>...
>> }
>>
>>
>> I wonder if Rakudo could be more cleaver in this particular case and
>>
> On 13 Jun 2017, at 19:34, Gabor Szabo wrote:
>
> I just managed to write
>
> while True {
>...
>break if $code eq 'exit';
>...
> }
>
>
> I wonder if Rakudo could be more cleaver in this particular case and
> remind me to use 'last' instead of 'break'.
Is the undeclared sub erro
I just managed to write
while True {
...
break if $code eq 'exit';
...
}
I wonder if Rakudo could be more cleaver in this particular case and
remind me to use 'last' instead of 'break'.
Gabor
On Tue, 13 Jun 2017 07:26:15 -0700, c...@zoffix.com wrote:
> m: do LABEL: for 1 { next LABEL }
> rakudo-moar 4aa60a: OUTPUT: «labeled next without loop construct in
> block at line 1»
>
> Bisectable points to
> https://github.com/rakudo/rakudo/commit/5581b24111589683dcd50356a9de2bcf60ae3bb2
On Tue, 13 Jun 2017 07:26:15 -0700, c...@zoffix.com wrote:
> m: do LABEL: for 1 { next LABEL }
> rakudo-moar 4aa60a: OUTPUT: «labeled next without loop construct in
> block at line 1»
>
> Bisectable points to
> https://github.com/rakudo/rakudo/commit/5581b24111589683dcd50356a9de2bcf60ae3bb2
# New Ticket Created by Zoffix Znet
# Please include the string: [perl #131567]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=131567 >
m: do LABEL: for 1 { next LABEL }
rakudo-moar 4aa60a: OUTPUT: «labeled next withou
Yup, you can use it as a method call like this:
perl6 -e '"foobar".&[~~](/foo/).say'
「foo」
HTH
- Timo
Semantically, is a Regex can be "contained" by a String? As Liz wrote, a
regex is "matched" against a String.
Besides that, I'm wondering if the smart match operator ~~ can be used as a
method call?
"foobar".smart-match( /'foo'/ ).say
in place of
( "foobar" ~~ /'foo'/ ).say
AFAIK, it exists t
On Tue, 16 Sep 2014 13:47:14 -0700, LeonT wrote:
> On Sun Sep 07 15:36:08 2014, LeonT wrote:
> > As per subject, Proc::Async's streams may call &done() before calling
> > their &tap/&act for the last time. Take for example this code:
> >
> > my $num = @*ARGS.shift // 3;
> >
> > my @procs = (1..$n
On Tue, 16 Sep 2014 13:47:14 -0700, LeonT wrote:
> On Sun Sep 07 15:36:08 2014, LeonT wrote:
> > As per subject, Proc::Async's streams may call &done() before calling
> > their &tap/&act for the last time. Take for example this code:
> >
> > my $num = @*ARGS.shift // 3;
> >
> > my @procs = (1..$n
Thanks for the report! Fixed with
https://github.com/rakudo/rakudo/commit/bf95bcb6c0
Tests will be added shortly.
> On 13 Jun 2017, at 00:52, Zoffix Znet (via RT)
> wrote:
>
> # New Ticket Created by Zoffix Znet
> # Please include the string: [perl #131561]
> # in the subject line of all
Thanks for the report! Fixed with
https://github.com/rakudo/rakudo/commit/bf95bcb6c0
Tests will be added shortly.
> On 13 Jun 2017, at 00:52, Zoffix Znet (via RT)
> wrote:
>
> # New Ticket Created by Zoffix Znet
> # Please include the string: [perl #131561]
> # in the subject line of all
14 matches
Mail list logo