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