Ubuntu Manpages

Code::TidyAll::Plugin::DiffOnTidyError

Include a diff in error message when code needs tidying

version 0.32

   # In configuration:
   [DiffOnTidyError]
   select = **/*

When running Code::TidyAll in "check_only" mode, for example via Test::Code::TidyAll, this plugin adds a diff to the output when a file needs to be tidied. This plugin uses the diff command, and will simply die if it cannot find one in your $PATH.

This is helpful if you're trying to figure out what a test is failing on.

Code::TidyAll

  • Jonathan Swartz <swartz@pobox.com>
  • Dave Rolsky <autarch@urth.org>

This software is copyright (c) 2011 - 2015 by Jonathan Swartz.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.