Is there any really good reason why sleep() doesn't work for
microseconds?  I mean, if I can do this:

    sub sleep {
        my($time) = shift;
        if( /^[+-]?\d+$/ ) {
            sleep($time);
        }
        else {
            select(undef, undef, undef, $time);
        }
    }

Why can't Perl?  Smells like a C holdover to me.


-- 

Michael G. Schwern   <[EMAIL PROTECTED]>    http://www.pobox.com/~schwern/
If you have to shoot, shoot!  Don't talk.
                -- Tuco, "The Good, The Bad And The Ugly"

Reply via email to