Posted on 2006-07-21 22:59:29-07 by webmaster33
Namedays of different religions on same day
It would be good idea, to be able to retrieve namedays of different religions, too. The API would be easy.

For example:
my ($names) = $nd->getNames(7,24,2001, "Hungarian", "Hungarian-Evangelic", "Hungarian-Reformed", "H +ungarian-Catholic", 'etc...');


Legend:
Hungarian = Hungarian common name dictionary (general name calendar)
Hungarian-Evangelic, Hungarian-Reformed, Hungarian-Catholic, etc. = used as: Language-Religion

Returned hash reference example:
$names = { 'Hungarian' => [ 'pista', 'jozsi', 'anna' ], 'Hungarian-Evangelic' => [ 'pista'], 'Hungarian-Reformed' => [ 'anna'], 'Hungarian-Catholic' => [ 'pista', 'jozsi', 'ildiko' ] };


Returned array reference example:
my (@names) = $nd->getNames(7,24,2001, "Hungarian", "Hungarian-Evangelic", "Hungarian-Reformed", "H +ungarian-Catholic", 'etc...'); @names = ('pista', 'jozsi', 'anna', 'ildiko');
The double elements should be filtered out.

Native language religion query:
my (@names) = $nd->getNames(0,0,0, "Hungarian-Evangelic", "Hungarian-Reformed", "Hungarian-Catholic +");

This should return the translated names of the input religions:
@names = ('Evangelikus', 'Reformatus', 'Katolikus', stb...);


Thanks,
Webmaster33
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.