perl, how do I tell my script to sleep for 2 secs

perl, how do I tell my script to sleep for 2 secs
rgbcofAsked:
Who is Participating?
 
Justin MathewsConnect With a Mentor Commented:
use Time::HiRes qw(usleep);
 
usleep(2000);
0
 
Justin MathewsCommented:
sleep 2;
0
 
rgbcofAuthor Commented:
Whoops, I mean 2 milliseconds.
0
 
rgbcofAuthor Commented:
Ah, thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.