E-Planning interview question

Use Perl language to solve simple tasks.