Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^2: How to sleep 1 microsecond?

by sophate (Beadle)
on Aug 18, 2012 at 10:42 UTC ( #988192=note: print w/replies, xml ) Need Help??

in reply to Re: How to sleep 1 microsecond?
in thread How to sleep 1 microsecond?

Thanks. This works pretty well :-) But just wondering why the smallest unit for time() is 0.00_001 but not 0.000_001?

Replies are listed 'Best First'.
Re^3: How to sleep 1 microsecond?
by tobyink (Abbot) on Aug 18, 2012 at 11:27 UTC

    Meh, did I only do a one-hundred-thousandth of a second? Always getting my decimal places mixed up! Use whatever fraction of a second you like, but be aware of the limits of floating point numbers.

    perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://988192]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2016-10-22 08:19 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (294 votes). Check out past polls.