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