sleep() function in Perl is an inbuilt function which is used to delay the execution of the current script for a specified number of seconds or forever if parameter is not specified. The sleep( ) function accepts seconds as a parameter and returns the same on success.
Returns: seconds passed to it as parameter, on success
Thu Mar 28 06:02:21 2019 Thu Mar 28 06:02:26 2019
Thu Mar 28 06:02:26 2019 Thu Mar 28 06:02:27 2019