I've heard from people using Perl::Tidy that sometimes
you have to tweak the rules because it can at times
produce broken code.
With the creation of Perl::Signature, it should now be
possible to create a "verify" feature, or alternatively
a seperate Perl::Tidy::Safe module, which could
generate the "functional signature" of the code before
and after the tidying and verify that the code has not
While I gather that in most cases the code would break
fairly obviously, this might help formalise the issue.
Perl::Signature is fairly heavy, so I'd probably tend
towards Perl::Tidy::Safe, with an identical interface,
although making it an optional feature that only checks
at runtime might work too.
Log in to post a comment.