Could that be explained by closures too? I am still examining the re 'debug' output.
The debug output clearly shows you were correct in your first post — that the matching does indeed function. The problem (that is definitely cured by using a global @o) is that your regex code was pushing onto the wrong @o, one nolonger in any scope accessable by non-perl-deities.
-Paul
In reply to Re^3: Multiple uses of (?{ code }) do not appear to be called
by jettero
in thread Multiple uses of (?{ code }) do not appear to be called
by bsdz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |