in reply to Re Execute Lines of Code

Unlike my brethern, I'd code it as
Routine(); sleep 20; Routine(); sub Routine { code; code; code; code; }
If it was important enough to do twice, you might need to do it again, later on...