On Sat, Nov 13, 2004 at 12:01:50AM +0000, Dave Mitchell wrote:
> Note that interpolated strings already work badly with re evals:
> 
>     $foo =~ "abc(?{$x++})def"

WFM:
$ perl -we'"abcdef" =~ "abc(?{\$x++})def"; print $x'
1
 
> So, should I break the behaviour of (?{}) in single-quoted strings,
> or is there another way?

I'd say go ahead and break it.

Reply via email to