Created
December 31, 2016 23:59
-
-
Save xtetsuji/99e99c26376e70f0cedcfc7a7721adea to your computer and use it in GitHub Desktop.
leap second inspector.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use Time::HiRes qw(usleep time); | |
while(1) { | |
printf "%s [%s]\n", time, scalar localtime; | |
# 0.1秒 = 10**5 microsecond | |
usleep 10**5; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment