in reply to Help with Perl Project please

G'day Draggy,

Welcome to the Monastery.

As already pointed out by ++NetWallah, there are issues with your post which make it difficult to read and leave us guessing what your actual problem is.

Here's some problems I can see:

Just in closing, I might add that, when posting here, typing your code by hand is not a good idea. I don't know if you are. If you copy and paste the actual code you're trying to run, we can see a verbatim copy and help you better. And, of course, post any code, data, and similar text between <code>...</code> tags.

— Ken