http://qs321.pair.com?node_id=1227652


in reply to New Perl user - help with my homework

Hello and welcome!

You've shown us your homework, but you haven't told us where you have problems.

Please show us the exact code you have already written and tell us what it should do. Also tell us what it does and how that differs from what you expect. This helps us give you answers that address your situation.

You're already showing us the program you have written, but you don't tell us how it fails to do what you want. Please tell us what data you enter, what it does, and what you expect it to do.

Please also edit your post and separate your code from the rest of the homework into separate sets of <code>...</code> tags.