Since you have shown no code, I will assume you do not know how to create code for any of the tasks you mentioned. So, I will point you to some documentation here at the Monastery which should show some examples of the types of things you want to do. The
Tutorials section is a great resource.
For example, to prompt the user, take a look at Basic Input and Output.
Search for "case-insensitive" in the perlrequick section of the official Perl documentation.