{ my $auth = $DB->get('auth'); my $oidentd = $DB->get('oidentd'); if ($auth) { $oidentd ||= $DB->new_record('oidentd', {type => 'service'}); $oidentd->merge_props($auth->props); $auth->delete; } }