Hi Ronalds,

thanks for the quick answer.
Is there any workaround?
I would simply love to have the ability to debug regular expressions
interactively.

I tried:
  DB<10> ;{$x="blah"; $x =~ /(a)/; print $1}
but this also doesn't seem to work.


Thanks,
Axel


>The special regex variables are always localized to the current block, and
>each Perl snippet entered at a debugger prompt is executed in its own
>block.  Thus, by the time you ask for the value of $1 at the next prompt,
>it's already been restored to its previous value.
>
>Ronald

Reply via email to