Subject: | Warn about nonreentrant regex engine in the caveats section of POD |
This is kind of funny since I'm the one who wrote you asking to have
objrule call the class constructor properly, but anyway...
I think it would be worth noting in the IMPORTANT CONSTRAINTS AND
LIMITATIONS section of the POD that the perl5 regex engine is (so far)
non-reentrant -- any code that triggers a regex match inside of (?{ ...
}) or (??{ ... }) will lead to weird data corruption and most likely
segfaults. In particular this means constructors called by <objrule:>,
and in very particular it means Moose constructors under many
conditions, like having an attribute with an 'Int' type constraint.
Thanks,
Andrew