A 2 second delay

In perl5, what code would I use to have a 2 second delay before the next line is executed?
donb1Asked:
Who is Participating?
 
Kim RyanConnect With a Mentor IT ConsultantCommented:
sleep(2);
0
 
donb1Author Commented:
Thanks
0
All Courses

From novice to tech pro — start learning today.