Help for this page
$config->{$field} //= {};
$val ||= "2"; # Set $val to 2 if it isn't already "true".