Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (18)
As of 2015-07-30 18:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls