in reply to wait command in perl

You can also sleep for a non-integer number of seconds too: Time::HiRes