http://www.perlmonks.org?node_id=1090885


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