in reply to sleep(2.5)
select undef, undef, undef, 2.5;
...That'll do it. See the POD for select for a full explanation.
Dave