I guess this is your first post on Perlmonks. Welcome to the wonderful Perl community.
* What are you trying to ask us, Please note that we are not here to do your homework, we are here only to help.
* Please post your code, so that other people can look and point you in the right direction.