Pragmas (including the feature pragma) don't propagate into (?{}) and (??{}). It's a known bug.
Example of strict and warnings not propagating:
use strict; use warnings; use re 'eval'; my $re = ''; '' =~ /$re(?{ print(">$x<\n"); })/;
><
Update: Added link and example
In reply to Re: Can't say in a regex?
by ikegami
in thread Can't say in a regex?
by JadeNB
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |