MDV::Distribconf::Build - Subclass to MDV::Distribconf to build configuration
Returns a new MDV::Distribconf::Build object.
Sets or adds $var parameter from $media to $val. If $media doesn't exist, it is implicitly created. If $var is undef, a new media is created with no defined parameters.
undef
Delete $var parameter from $media. If $var is not specified, the media is is deleted. If $media is not specified, $var is remove from global settings.
Writes the hdlists file to $hdlists, or if no parameter is given, in the media information directory. $hdlists can be a file path or a file handle. Returns 1 on success, 0 on error.
$hdlists
Write the media.cfg file into the media information directory, or into the $mediacfg given as argument. $mediacfg can be a file path, or a glob reference (\*STDOUT for example).
Returns 1 on success, 0 on error.
Performs basic checks on the distribution and prints to $fhout (STDERR by default) warnings and errors found. Returns the number of errors reported.
MDV::Distribconf
To install MDV::Distribconf, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MDV::Distribconf
CPAN shell
perl -MCPAN -e shell install MDV::Distribconf
For more information on module installation, please visit the detailed CPAN module installation guide.