NAME
oEdtk::AddrField - address field: trim, drop accents, uppercase
SYNOPSIS
use oEdtk::AddrField;
my $field = oEdtk::AddrField->new('ADDR', 38);
print $field->process(' 12 rue de la gare '), "\n"; # '12 RUE DE LA GARE'
DESCRIPTION
An oEdtk::Field subclass for address lines. It trims the leading and trailing whitespace, strips the accents and uppercases the result. The field name and byte length are carried by the inherited constructor.
METHODS
process
my $value = $field->process($data);
Trim $data, drop its accents (via oe_uc_sans_accents, imported from oEdtk::Main) and return it uppercased.
AUTHOR
The oEdtk team.