mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 03:22:14 +00:00
12 lines
204 B
Perl
Executable File
12 lines
204 B
Perl
Executable File
#!/usr/bin/perl -w
|
|
|
|
use strict;
|
|
use warnings;
|
|
use geobase;
|
|
|
|
foreach my $key (keys %Region) {
|
|
print $key . "\t"
|
|
. ($Region{$key}->{parents}[-1] || 0) . "\t"
|
|
. ($Region{$key}->{type} || 0) . "\n";
|
|
}
|