Subject: | Perl::Tidy 20120619 modifies input scalar refs. |
In Perl::Tidy version 20120619, the perltidy() subroutine modifies the
values of the 'source' and 'perltidyrc' arguments by chomping them.
This seems like a nit-pick, but it means you now get an exception if you
pass a reference to a read-only value (e.g. something created by
Readonly::Scalar).
It also means false positives if you determine whether code is tidy by
passing scalar references to the source and destination arguments, and
then comparing the results.