defined and s/^\s+|\s+$//g for ( $ipaddress, $prefix, $interface, $device, $location, $comment );