Maybe it would be neat if there was a new feature that turned those off for any match in the scope where it was disabled... to maybe be added to some future "use v5.46".
Or, maybe Regexp refs should have methods, so the regex engine can be used without affecting *any* global variables.
my $match= qr/(\d+)/->match($subject); say $match->captures->[0] if $match;
In reply to Re^4: Are beheaded strings known to be slow?
by NERDVANA
in thread Are beheaded strings known to be slow?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |