Reviews by Kim Ryan


Lingua-EN-AddressParse (1.20)

The review for version 1.19 is based on incorrect usage of the module.

Firstly, the 'new' method is called without supplying the argument to specify the country that the address format belongs to (the reviewer states "with country_code set to 'US', as specified", but this is not reflected in his code).

This argument is described at the very start of the module synopsis:
use Lingua::EN::AddressParse;

my %args =

country => 'Australia',

auto_clean => 1,


my $address = new Lingua::EN::AddressParse(%args);

However, I have also released a version 1.20 that gives a more helpful error message when the mandatory argument such as country is omitted.

The following output shows the reviewers sample data being correctly

my %args =

country => 'US',

auto_clean => 1,

force_case => 1,

force_post_code => 0,

abbreviate_subcountry => 0,

abbreviated_subcountry_only => 1

my $address = new Lingua::EN::AddressParse(%args);
my $address_input = "1 17th Street, Denver, CO USA";
my $error = $address->parse($address_input);

Original Input : 1 17th Street, Denver, CO USA
Cleaned Input : 1 17th Street Denver CO USA
Country address format : US
Address type : suburban
Non matching part :
Error : 0
Error descriptions :
Case all : 1 17th Street Denver CO USA
country : USA
post_box :
post_code :
pre_cursor :
property_identifier : 1
property_name :
road_box :
street : 17th
street_direction :
street_type : Street
sub_property_identifier :
subcountry : CO
suburb : Denver

EBook-MOBI (0.7) ****

MOBI is not the easiest EBook format to use. It has a limit on the size of attached graphics, so that means you need to downsize any document images, and have the Imlib2 software installed to do this. I find ePub a much easier format to work with.

But if you need to create eBooks in this format, then this is a useful module. It works best at converting POD to MOBI format, but is flexible enough to let you add HTML elements individually such as headers and paragraph blocks. Boris is active in responding to bugs and feature requests.