Okay. That begins to make sense ;)
But, I discovered that I can get (sort of) what I was after by switching to %-
perl -wE"()='abcde' =~ m[(?<a>a)|(?<b>b)|(?<c>c)|(?<d>d)|(?<e>e)]g and + do{ say for keys %- }" e c a b d
In reply to Re^4: Named Captures
by BrowserUk
in thread Named Captures
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |