It doesn't have to be an assertion. Just a code block would do the same. Best regards, Vadim Belman
> On Jun 14, 2020, at 8:55 PM, Joseph Brenner <doom...@gmail.com> wrote: > > $_ = "Alpha beta gamma"; > my @matches = m:g/(a) <?{ put $0.pos }>/;
It doesn't have to be an assertion. Just a code block would do the same. Best regards, Vadim Belman
> On Jun 14, 2020, at 8:55 PM, Joseph Brenner <doom...@gmail.com> wrote: > > $_ = "Alpha beta gamma"; > my @matches = m:g/(a) <?{ put $0.pos }>/;