> + return $path if $is_mp =~ m/^(1|on|yes|true)$/i; > + return undef if $is_mp =~ m/^(0|off|no|false)$/i; Don't we have a parse_boolean() helper somewhere? If not, can we add one? I would like to avoid multiple definition of what we accept for boolean values.