Geo::Address::Mail::Standardizer::Results - Results of address standardization
package Geo::Address::Mail::Standardizer::My; use Moose; with 'Geo::Address::Mail::Standardizer'; # use it my $std = Geo::Address::Mail::Standardizer::My->new(...); my $address = Geo::Address::Mail::MyCountry; my $results = $std->standardize($address); $results->is_changed('state'); my @changes = $results->changed_fields;
HashRef of changed fields. The keys are the names of the fields and the values are the new values of those fields.
A Geo::Address::Mail object (specifically of the subclass you passed in) that has been standardized.
Returns a count of the number of fields changed during standardization.
Returns an array of field names that were changed as part of the standardization.
Returns the value of the specified field if it was changed.
Returns true if a standardized address has been set for this results.
Returns true if the specifid field name was changed, otherwise false.
Records that the specified field was changed to the specified value. Used by Standardizer implementations to set values.
Cory G Watson, <gphat at cpan.org>
<gphat at cpan.org>
Copyright 2010 Cory G Watson
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Geo::Address::Mail::Standardizer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Geo::Address::Mail::Standardizer
CPAN shell
perl -MCPAN -e shell install Geo::Address::Mail::Standardizer
For more information on module installation, please visit the detailed CPAN module installation guide.