On Sat, Nov 13, 2004 at 12:01:50AM +0000, Dave Mitchell wrote:
> 
> My preferred way of handling this is to treat this as a run-time (?{})
> pattern, which will fail unless 'use re eval' is in effect. ie
> 
>     $foo =~ '(?{...});
> 
> is treated the same as
> 
>     $pattern = '(?{...});
>     $foo =~ $pattern;
> 
> as regards dieing without 'use re eval'.

Can you detect the single-quoted case and just turn on re 'eval' for that
pattern?

-- 
Rick Delaney
[EMAIL PROTECTED]

Reply via email to