Thank you very much Brad!!
Let's redirect all conversation on this particular issue here:
https://github.com/rakudo/rakudo/issues/3221
Best Regards, Bill.
On Tue, Oct 8, 2019 at 10:53 AM Brad Gilbert wrote:
>
> Most operations with Junctions produce Junctions.
>
> > 1 + any(2, 3)
> any
Most operations with Junctions produce Junctions.
> 1 + any(2, 3)
any(3, 4)
> any(1, 2) + 3
any(4, 5)
> any() ~~ /./
any(「a」, 「c」)
In the case of the following line, `$/` gets assigned a junction of the
results.
> if any(@genus) ~~ m/Hama/ { put "Matches at least on
Greetings:
I tried the following regular expression code, working generally from
"Learning Perl 6" by brian d foy (Chapter 15). Everything works fine
including the any() junction below, as long as the topic $_ variable
isn't defined beforehand. However specifically in combination with a
user-defin