Also interesting might be the fact that BEGIN statements/blocks do return a value:
say now() - BEGIN now; # parens needed to there so that it does not gobble args Am 12.01.2015 um 08:55 schrieb Gabor Szabo: > Neat. Based on that I tried to explain it > here: http://perl6maven.com/tutorial/timestamp > Gabor > > On Sat, Jan 10, 2015 at 4:13 PM, <t...@wakelift.de > <mailto:t...@wakelift.de>> wrote: > > > On 01/10/2015 03:12 PM, Gabor Szabo wrote: > > > say time; say now; say time; say now; > > > > 1420898839 > > Instant:1420898874.659941 > > 1420898839 > > Instant:1420898874.663946 > > > > This looks really strange to me. > > Why do the calls to 'now' show different full seconds than the calls > > to 'time' ? > > > > Gabor > > > > One of them counts leap seconds, the other doesn't. Instant is > supposed > to be a monotonic clock, the other isn't. > > regards > - Timo > > >