On Mon, Oct 12, 2015 at 6:17 AM, Dave Mitchell <davem@iabyn.com> wrote: > On Wed, Oct 07, 2015 at 07:07:53PM +0200, Lukas Mai wrote: > > This would mean 'when (qr/.../)' becomes 'when { $_ eq qr/.../ }'. > > Good point. So a literal qr// will have to be accepted as well as a > literal //, perhaps along with a warning that "given(qr/.../) better > written as given(/.../)" ? > Why? "split(qr{...}, ...)" doesn't warn, and I use that whenever I want a delimiter other than "/". Even "$_ =~ qr{...}" doesn't warn.Thread Previous | Thread Next