DOKK / manpages / debian 10 / lintian / Test::Lintian::ConfigFile.3.en
Test::Lintian::ConfigFile(3) Debian Package Checker Test::Lintian::ConfigFile(3)

Test::Lintian::ConfigFile -- generic helper routines for colon-delimited configuration files

use Test::Lintian::ConfigFile qw(read_config); my $desc = read_config('t/tags/testname/desc');

Routines for dealing with colon-delimited configuration files.

Reads the configuration file located at PATH into a hash and returns it. When also passed a HASHREF, will fill that instead.
Write the config described by hash reference TEST_CASE to the file named PATH.
Returns the list of lines from file FILE which start with the string FIELD followed by a colon. The string FIELD and the colon are removed from each line.
2019-05-26 Lintian v2.15.0