Skip to content

Items handy_utilities

ggodart edited this page Jan 2, 2021 · 1 revision

handy_utilities

See original

SYNOPSIS

None

DESCRIPTION

Handy utilities of all shapes and sizes

INHERITS

None

INI PARAMETERS

None

METHODS

Method Description
write_mh_opts This function will add or edit MisterHouse parameters in the user's ini file. It will make a backup of the ini file, and it doesn't remove any comments in the file. The first argument is a hash of parameters to set. The second (optional) argument is the ini file you want to modify, and the third (optional) argument is set to 1 if you want to log the change.

Examples:
write_mh_opts({"photo_dir" -> $state}, undef, 1);
write_mh_opts(%parms);

AUTHOR

Bruce Winter [email protected]

SEE ALSO

None

Clone this wiki locally