How do you get an entire Perl program to repeat?

I am writing a perl program that helps with math. You input two numbers and whether you want to add, subtract, multiply, or divide. Right now, all it does is one problem. How do I get it to ask you if you would like to do another and it start back from the beginning. I have tried do ... while and just a while loop and neither are working. Maybe I am just writing it wrong or something. Someone please help. Thanks!
I know that i need to do a while loop but how would I write it and where? I have done everything i can think of.
 
Back
Top