Take me over?
The maintainer of this distribution is looking for someone to take over!
If you're interested then please contact them via
email.
NAME
Code::TidyAll::Result - Result returned from processing a file/source
VERSION
version 0.04
SYNOPSIS
my $ct = Code::TidyAll->new(...);
my $result = $ct->process_file($file);
if ($result->error) {
...
}
DESCRIPTION
Represents the result of Code::TidyAll::process_file and Code::TidyAll::process_file. A list of these is returned from Code::TidyAll::process_files.
METHODS
- path
-
The path that was processed, relative to the root (e.g. "lib/Foo.pm")
- state
-
A string, one of
- new_contents
-
Contains the new contents if state is 'tidied'
- msg
-
Contains the error message if state is 'error'
- error
-
Returns true iff state is 'error'
- ok
-
Returns true iff state is not 'error'
SEE ALSO
AUTHOR
Jonathan Swartz <swartz@pobox.com>
COPYRIGHT AND LICENSE
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.