Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Spanish fiscal identifier validator

0 views
Skip to first unread message

Xavier Noria

unread,
Oct 12, 2007, 3:18:12 PM10/12/07
to module-authors mailing list at perl.org
I would like to publish a validator of Spanish fiscal identifiers
(NIF, NIE, CIF) but don't see any existing namespace where it fits.

Do you have name suggestions?

-- fxn

Xavier Noria

unread,
Oct 12, 2007, 4:56:36 PM10/12/07
to module-authors mailing list at perl.org
On Oct 12, 2007, at 10:43 PM, David Precious wrote:

> Xavier Noria wrote:
>> I would like to publish a validator of Spanish fiscal identifiers
>> (NIF, NIE, CIF) but don't see any existing namespace where it fits.
>

> I'd say anywhere under Finance:: would be a suitable candidate.

Thank you!

NIFs (and NIEs) play the role of identity cards, each native Spaniard
has a card with its NIF. I think something broader than "finance"
would be better. Perhaps Data::, though that's quite generic.

Data::FiscalIdentifier::Spanish

?

-- fxn

David Precious

unread,
Oct 12, 2007, 5:35:58 PM10/12/07
to module-authors mailing list at perl.org


Ah, I assumed when I saw "fiscal" that it was purely finance-related -
it sounds like they are indeed more general than that.

As it's more general, I think you're probably right that somewhere under
Data:: would be suitable (a fiscal identifier is, after all, a piece of
data). Data::FiscalIdentifier::Spanish sounds reasonable to me
(although not too sure about "FiscalIdentifier" - might be worth
considering other options like:

IdentityNumber
IdentificationNumber
NationalIdentifier

Not sure that any of those are better than FiscalIdentifier though.

Oh, and my apologies for inadvertently responding off-list last time!

Cheers

Dave P

--
David Precious
dav...@preshweb.co.uk :: http://blog.preshweb.co.uk/

Xavier Noria

unread,
Oct 12, 2007, 6:20:09 PM10/12/07
to module-authors mailing list at perl.org
On Oct 12, 2007, at 11:07 PM, David Cantrell wrote:

> Locale::ES::Identifiers::... perhaps?

Good. I think there's the convention to put the country code to the
right:

Locale::Identifiers::ES

Locales:: use lowercase for the country code though.

-- fxn

David Cantrell

unread,
Oct 12, 2007, 7:08:29 PM10/12/07
to Xavier Noria, module-authors mailing list at perl.org

Yes, good point, as the concept of an identifier isn't country-specific.
The individual identifiers are though, so ...

Locale::Identifiers::ES::NIF etc

--
David Cantrell | Godless Liberal Elitist

Irregular English:
you have anecdotes; they have data; I have proof

Xavier Noria

unread,
Oct 12, 2007, 7:38:45 PM10/12/07
to module-authors mailing list at perl.org
On Oct 13, 2007, at 1:08 AM, David Cantrell wrote:

> On Sat, Oct 13, 2007 at 12:20:09AM +0200, Xavier Noria wrote:
>> On Oct 12, 2007, at 11:07 PM, David Cantrell wrote:
>>> Locale::ES::Identifiers::... perhaps?
>> Good. I think there's the convention to put the country code to the
>> right:
>> Locale::Identifiers::ES
>
> Yes, good point, as the concept of an identifier isn't country-
> specific.
> The individual identifiers are though, so ...
>
> Locale::Identifiers::ES::NIF etc

According to CPAN conventions would that mean I should own
Locale::Identifiers and accept contributions for other countries?

-- fxn

Luis Tello

unread,
Oct 12, 2007, 11:04:36 PM10/12/07
to Xavier Noria, module-authors mailing list at perl.org
how does one unsubscribe?

thanks in advance,

-L

David Cantrell

unread,
Oct 13, 2007, 5:00:19 AM10/13/07
to Luis Tello, Xavier Noria, module-authors mailing list at perl.org
On Fri, Oct 12, 2007 at 08:04:36PM -0700, Luis Tello wrote:

> how does one unsubscribe?

By following the instructions in the headers of every message. This is
a common convention for mailing lists.

--
David Cantrell | Hero of the Information Age

fdisk format reinstall, doo-dah, doo-dah;
fdisk format reinstall, it's the Windows way

Bill Ward

unread,
Oct 13, 2007, 5:49:05 PM10/13/07
to David Cantrell, Luis Tello, Xavier Noria, module-authors mailing list at perl.org
While technically true, I don't think this information is very useful.
While it is possible to click "full headers" in Yahoo mail, this is a
feature very few people know about these days. Mailing list software
has failed to keep up with modern MUA standards. There was a time
when MUAs would show all headers by default, but those days are long
gone.

A more useful answer would be to send an empty email message to the
address <module-author...@perl.org>

David Cantrell

unread,
Oct 13, 2007, 7:27:06 PM10/13/07
to Bill Ward, Luis Tello, Xavier Noria, module-authors mailing list at perl.org
On Sat, Oct 13, 2007 at 02:49:05PM -0700, Bill Ward wrote:
> On 10/13/07, David Cantrell <da...@cantrell.org.uk> wrote:
> > On Fri, Oct 12, 2007 at 08:04:36PM -0700, Luis Tello wrote:
> > > how does one unsubscribe?
> > By following the instructions in the headers of every message. This is
> > a common convention for mailing lists.
> While technically true, I don't think this information is very useful.
> A more useful answer would be to send an empty email message to the
> address <module-author...@perl.org>

That would have required cutting and pasting, which is a pain in the
arse with the ssh client I was using. There's also the old saw about
teaching a man to fish.

--
David Cantrell | Minister for Arbitrary Justice

" In My Egotistical Opinion, most people's ... programs should be
indented six feet downward and covered with dirt. "
--Blair P. Houghton

Adriano Ferreira

unread,
Oct 15, 2007, 10:09:29 AM10/15/07
to Module Authors List

It took me some time to read your message, and it may be too late. But
in my experience, it looks like validation of national identifiers are
many times stuffed into

Business::<country code>::*

namespaces. Take a look at modules under

Business::DE
Business::FR
Business::BR

namespaces.

Regards,
Adriano Ferreira

> -- fxn
>
>

0 new messages