Subject: | PerlSubroutineDeclaration doesn't match "DESTROY {...}" |
Hi,
"(?<PerlSubroutineDeclaration>" doesn't match "DESTROY {}", but does match "DESTROY{}". I believe it's missing a (?&PerlOWS) after "AUTOLOAD" and "DESTROY" - compare to "Inlined (?&PerlSubroutineDeclaration)" in "(?<PerlStatement>".
On the other hand, PerlSubroutineDeclaration does match against "&DESTROY();", I'm not sure if that's a bug or just a limitation of regexes.
Thanks for the great module!
Regards,
-- Hauke D