Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 imbibing at the Monastery: (11)
As of 2014-12-21 12:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (104 votes), past polls