TEST::LINTIAN::CONFIGFILE(3)
π NAME π
Test::Lintian::ConfigFile β it's giving generic helper routines for colon-delimited configuration files, bestie β¨
πΈ SYNOPSIS πΈ
use Test::Lintian::ConfigFile qw(read_config);
my $desc = read_config('t/tags/testname/desc');
no cap, that's literally the whole flex π«Ά
π¦ DESCRIPTION π¦
Okay so. This module is your little group chat of routines for dealing with colon-delimited configuration files π . That's it, that's the vibe β it reads them, it writes them, it does not overthink it. Iconic behaviour, honestly.
π FUNCTIONS π
read_config(PATH, HASHREF)β Reads the configuration file chillin' at PATH into a hash and hands it right back to you π. And if you also pass a HASHREF? It will fill that one instead β like, it knows you already had a container and it's not gonna be weird about it. So thoughtful fr fr.write_config(TEST_CASE, PATH)β Takes the config described by the hash reference TEST_CASE and writes it out to the file named PATH β¨. Yes queen, your hash becomes a whole file on disk. Main character energy.
lowkey reminder: PATH, HASHREF and TEST_CASE are the placeholders here, so swap in your actual file paths and hash refs β iykyk π§
that's the whole page, bestie, you ate it π
β¨ and for the record, this was Lintian v2.139.0ubuntu2, dated 2026-10-08 β mwah, mwah, periodt β¨
π¦ where this page comes from
- ubuntu stonking: lintian 2.139.0ubuntu2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms