in reply to Gender prediction

Hi,
To access tables from Database you can use Jeremy Zawodany's Dbix::Dwiw module.
You can store the name and gender in a hash with name as key and gender as value.
You can get the result as a hash from the Dbix:Dwiw module.
Take the input as email-id and parse it using a regex.
You can then to do lookup in the hash.
If you need further help you can send me a pvt.message
HTH
Sharad

Replies are listed 'Best First'.
Re^2: Gender prediction
by samsonp81 (Initiate) on Jun 05, 2007 at 10:21 UTC
    Hello Sharad! Thanx for your response. am new to perl n so am looking for help. Sharad as i have said i have the requred data i.e the baby names table and email ids table.. i think u have the structurre with you.. All i have to do is 1. take an email id from emails suppose rajan@yahoo.com . now i have to consider the string before @ i.e rajan 2.Compare rajan with names field in the baby names table .. 3.if there is a match. print the corresponding gender of the baby to this email id.. the baby names tables has a vast list of all possible names. can u help me?