in reply to How to make a timer with breaks

This sounds like a homework question (a question requiring a couple of concepts without an obvious real-world application). Don't be afraid to state that it is.

That being said, if I were to implement this, I would want a few items:

Show your work, be honest about the homework status, ask questions. Just like coursework, you tend to get more out of PerlMonks if you put more of yourself into it.

--MidLifeXis