Do you have name suggestions?
-- fxn
> 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
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/
> 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
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
> 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
thanks in advance,
-L
> 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
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
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
>
>