
Code::TidyAll::Result - Result returned from processing a file/source

version 0.16

my $ct = Code::TidyAll->new(...);
my $result = $ct->process_file($file);
if ($result->error) {
...
}

Represents the result of Code::TidyAll::process_file and Code::TidyAll::process_file. A list of these is returned from Code::TidyAll::process_files.

The path that was processed, relative to the root (e.g. "lib/Foo.pm")
A string, one of
Contains the new contents if state is 'tidied'
Contains the error message if state is 'error'
Returns true iff state is not 'error'


Jonathan Swartz <swartz@pobox.com>

This software is copyright (c) 2011 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.