{ my $unifi = $DB->get('unifi') || $DB->new_record("unifi",{type=>'service'}); $unifi->delete_prop('TCPPort') if ( defined( $unifi->prop('TCPPort') ) and $unifi->prop('TCPPort') eq "8080,8443,8880,8843"); }