{ version => '01', contest_name => 'JARTS WW RTTY CONTEST', contest_id => 'JARTS-WW-RTTY', filter => { mode => "RTTY", band => \"IN('80M','40M','20M','15M','10M')", }, defaults => { contest_url => 'http://jarts.web.fc2.com/2010/rules2010.html', log_cols => [qw/ mycall call qso_date time_on freq band mode rst_sent stx rst_rcvd srx cont dxccprefix calc1 pfx /], placeholders => [qw/ /], dropbox_options => { CATEGORY => [qw/ Class-A Class-B Class-C Class-D /], 'ARRL-SECTION' => [qw/ AF AN AS EU NA OC SA /], }, update => sub { my $row = shift; my $s = $row->{dxccprefix}; if( $s =~ /^(K|VE|JA|VK)$/ ){ my $n = ( $row->{pfx} =~ /(\d+)/g )[-1]; $s .= $n; return { calc1 => $s }; # The Call area (e.g. K4) for K/VE/JA/VK. } return { calc1 => '' }; }, Qs => [ { label => 'Own Continent', weight => 2, group_by => 'call, band', where => {cont=>$INPUT{'ARRL-SECTION'}} }, { label => 'Outside Continent', weight => 3, group_by => 'call, band', where => {cont=>{'!='=>$INPUT{'ARRL-SECTION'}}} }, ], mults => [ { label => 'DXCC', group_by => 'band,dxccprefix', where => {calc1=>''} }, { label => 'K/VE/VK/JA Call Areas', group_by => 'band,calc1', where => { calc1 => {'!='=>''} } }, ], cabrillo => { cabrillo_url => 'http://jarts.web.fc2.com/2010/cabrillo.html', version => '2.0', headers => [qw/ ARRL-SECTION CATEGORY CLUB NAME ADDRESS OPERATORS SOAPBOX /], qso_cols => [qw/cab_freq cab_mode cab_date cab_time mycall rst_sent stx call rst_rcvd srx /], qso_fmt => do { "%-5s %-2s %-10s %-04s %-12s %-3s %02d %-12s %-3s %02d" }, # ------info sent--- ------info rcvd------ #QSO: freq mo date time call rst ag call rst ag #QSO: ***** ** yyyy-mm-dd nnnn ************ nnn nn ************ nnn nn #QSO: 21082 RY 2003-10-18 2102 JH1BIH 599 53 JA1JDD 599 51 #1234567890123456789012345678901234567890123456789012345678901234567890123456789 }, }, years => { 2010 => { sample => '105b791a682e77e8d7ade6a4e993bb8e', filter => { qso_date => { -between => [20101016, 20101017] }, }, }, }, }