Blue_eyed_son has asked for the wisdom of the Perl Monks concerning the following question:
and I get a complaint that usleep is an undefined subroutine!use TIME::HiRes qw(usleep time alarm sleep); $nightpause=(2000); $time=localtime; if ($time=~/(\d+?):\d+?:\d+?/) { $hour=$1; } if ($hour<=6 or $hour>=17) { usleep ($nightpause); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: usleep not.
by ikegami (Patriarch) on Jul 15, 2005 at 22:47 UTC | |
by Blue_eyed_son (Sexton) on Jul 15, 2005 at 23:33 UTC | |
|
Re: usleep not.
by BrowserUk (Patriarch) on Jul 15, 2005 at 22:48 UTC |