in reply to Re: Perl bug or feature?
in thread Perl bug or feature?

Even though I knew about — and respect — perl's behaviour to repeat the match with an empty regex //, I do feel that this should not apply to the case where the empty regex is a result of interpolating an empty variable: $re = ''; /$re/

Usually, the variable's data comes from user input, and that should not fall back to a shortcut which is intended for intra-source only.