in reply to Pel script within perl script

Instead of using module you can use sleep function like in the below code. ----- use strict; use warnings; print "hello\n"; ---- use strict; use warnings; while(1) { system("perl ./"); sleep(1) }

Each and every 1 second code will get call. We can also use alarm signal for achieve this. After alarm signal is occur we can call the appropriate perl script. Then we can re-assign the alarm.