I have the latest Perl this time. And this bombs
>perl -e '$pat = q(^).qr{(??{$_})}x; print /$pat/'
Eval-group not allowed at runtime, use re 'eval' in regex m/^(?^x:(??{$_}))/ at -e line 1.
Why, if any of these are fine:
>perl -e 'print /q(^).qr{(??{$_})}x/'
>perl -e '$pat = qr{(??{$_})}x; print /$pat/'
>perl -e '$pat = q(^).qr{$_}; print /$pat/'