{ version => '01', contest_name => 'Worked All Europe DX Contest', contest_id => 'DARC-WAEDX-RTTY', filter => { mode => "RTTY", band => \"IN('80M','40M','20M','15M','10M')", }, defaults => { contest_url => 'http://www.darc.de/referate/dx/contest/waedc/en/rules/', log_cols => [qw/ mycall call qso_date time_on freq band mode rst_sent stx rst_rcvd srx cont dxccprefix calc1 pfx /], # placeholders => [qw/ cont /], dropbox_options => { # cont => [qw/ AF AN AS EU NA OC SA /], CATEGORY => [ 'SINGLE-OP LOW', 'SINGLE-OP HIGH', 'MULTI-OP', 'SWL', ], }, update => sub { my $row = shift; my $s = $row->{dxccprefix}; if( $s =~ /^(K|VE|VK|ZL|ZS|JA|PY|UA0)$/ ){ my $n = ( $row->{pfx} =~ /(\d+)/g )[-1]; $s .= $n; return { calc1 => $s }; # The Call area (e.g. K4) for K/VE/VK/ZL/ZS/JA/PY/UA0. } return { calc1 => '' }; }, Qs => [ { label => 'QSOs', weight => 1, group_by => 'call, band' }, ], mults => [ { label => '80M DXCC', weight => 4, group_by => 'band,dxccprefix', where => { band=>'80M', calc1=>''} }, { label => '80M Call Areas', weight => 4, group_by => 'band,calc1', where => { band=>'80M', calc1 => {'!='=>''} } }, { label => '40M DXCC', weight => 3, group_by => 'band,dxccprefix', where => { band=>'40M', calc1=>''} }, { label => '40M Call Areas', weight => 3, group_by => 'band,calc1', where => { band=>'40M', calc1 => {'!='=>''} } }, { label => '20/15/10M DXCC', weight => 2, group_by => 'band,dxccprefix', where => { band=>[qw/20M 15M 10M/], calc1=>''} }, { label => '20/15/10M Call Areas', weight => 2, group_by => 'band,calc1', where => { band=>[qw/20M 15M 10M/], calc1 => {'!='=>''} } }, ], cabrillo => { cabrillo_url => '', version => '2.0', headers => [qw/ 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 %04d %-12s %-3s %04d" }, # ------info sent----- ------info rcvd-------- #QSO: freq mo date time call rst stx call rst srx #QSO: ***** ** yyyy-mm-dd nnnn ************ nnn nnnn ************ nnn nnnn #QSO: 21082 RY 2003-10-18 2102 JH1BIH 599 0053 JA1JDD 599 0051 #1234567890123456789012345678901234567890123456789012345678901234567890123456789 }, }, years => { 2010 => { sample => 'c0dbbe54a3009bf57cf61857afb62607', filter => { qso_date => { -between => [20101113, 20101114] }, }, }, }, }