Net::DRI::Data::Contact::AFNIC - Handle AFNIC contact data for Net::DRI


This subclass of Net::DRI::Data::Contact adds accessors and validation for AFNIC specific data.


The following accessors/mutators can be called in chain, as they all return the object itself.


Please note that for AFNIC data, the name() must be only the lastname, hence this extra firstname() method needed for contacts being individuals

for an organization, either 'A' or 'association' for non profit organization, 'S' or 'company' for company or 'other' for other types; this must be set for contacts being moral entities

type of organization for other types

French SIREN/SIRET of organization


reference to an hash with 4 keys storing details about «Journal Officiel» : date_declaration (Declaration date), date_publication (Publication date), number (Announce number) and page (Announce page)

a waldec key can also be present for the waldec id


for trademarks, its number


vat number (not used by registry for now)


reference to an hash with 2 keys storing details about birth of contact : date (Date of birth) and place (Place of birth)


For now, support questions should be sent to:


Please also see the SUPPORT file in the distribution.



Patrick Mevzek, <>


Copyright (c) 2006,2008-2010,2012,2013 Patrick Mevzek <>. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

See the LICENSE file that comes with this distribution for more details.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 64:

Non-ASCII character seen before =encoding in '«Journal'. Assuming UTF-8