Please help with WHAT? You didn't actually ask a question anywhere.
Do you have perl installed?
Do you know how to run perl?
Do you know how to write a perl program?
Without you telling us what exactly the problems is, what you have tried, what happened, and what you expected to happen, about the only help you can expect is "Start
here".
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors