Need a programmer to help with an interview test. Please contact me with your price! by snovshad
Below is the requirement of the program.
Please contact me for details and negotiation.
I have attached the .pm file that was provided.
Given a table 'mailing':
CREATE TABLE mailing (
addr VARCHAR(255) NOT NULL
The mailing table will initially be empty. New addresses will be added on a daily basis. It is expected that the table will store at least 10,000,000 email addresses and 100,000 domains.
Write a perl script that updates another table which holds a daily count of email addresses by their domain name.
Use this table to report the top 50 domains by count sorted by percentage growth of the last 30 days compared to the total.
** NOTE **
- You MUST use the provided DB.pm for all database interaction, and you must use it as it is (DB.pm cannot be modified except for the connection settings).
- The original mailing table should not be modified.
- All processing must be done in Perl (eg. no complex queries or sub-queries)
- Submit a compressed file(tar/zip) with the files required to run your script.