http://qs321.pair.com?node_id=9995

artful has asked for the wisdom of the Perl Monks concerning the following question:

I need to calculate someone's age based on their birthday. The birthday is being pulled from MySQL so I have the FROM_DAYS() function which will give me the number of days they have been alive. I cannot just divide by 365 because of leap years and all. Any advice on accurately calculating someone's age?