I've told you all that you need to know. As you ask for a Perl solution I presume that you are a good Perl programmer. Else, why ask for a solution in a particular language? (I guess the only other reason would be if this were a homework question, but I'm sure that's not the case, is it?)

I don't do contract programming, but I'm sure that you can hire someone locally to do this work for you. I'd advise you to prepare a proper specification of what exactly is required in advance.

The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Compnet Ventures, LLC hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.