chiark / gitweb /
Found bug in Graph::Undirected
[ypp-sc-tools.web-live.git] / yarrg / database-info-fetch
index c56fda42e2d4f871fea5f256d46c6ad858657432..1e789b88fcb389686675f07393e1d0fab7a48ac1 100755 (executable)
@@ -184,6 +184,15 @@ sub main__island () {
                });
 }
 
+sub main__timestamp () {
+    my %o;
+    $o{'requesttimestamp'}= '1';
+    my $respcontent= yarrgpostform($ua, \%o);
+    $respcontent =~ m/^OK ([1-9]\d{1,20})\./ or die "$respcontent ?";
+    print "$1\n";
+    exit(0);
+}
+
 sub main__sunshinewidget () {
     print <<END
 Land {On land} {