Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re^3: Higher resolution $^T?

by Tux (Monsignor)
on Jun 23, 2014 at 05:47 UTC ( #1090885=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Higher resolution $^T?
in thread Higher resolution $^T?

But now you also kill the magic of -M and friends:

$ perl -wE'say $^T;say -M ".";sleep 1;say -M ".";$^T=time;say -M ".";u +ndef*^T;$^T=1400000000.123;say -M "."' 1403502321 0.450798611111111111 0.450798611111111111 0.450810185185185185 0.450810185185185185

Note that the last -M uses what was last stored in $^T before it was undef'd and not the value you put in it.

Enjoy, Have FUN! H.Merijn

Comment on Re^3: Higher resolution $^T?
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (15)
As of 2015-10-07 13:53 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (186 votes), past polls