in reply to perl 5.10 bug or not?
Is it possible you had an earlier successful match that set $1 and $2?
Provide the actual code. What you posted won't result in a match at all (it will, however, produce a syntax error. ;) If we're going to look for a bug in Perl 5.10 we need to make sure that the example code (1) runs, and (2) stands alone as an example that will replicate the problem.
Dave
|
|---|