Config...nseSpec(3pm)
β¨ NAME β¨
Bestie, welcome to Config...nseSpec(3pm) β the abbreviated name on the tin for a page from the User Contributed Perl Documentation collection. What's inside? The configuration class Config::Model::models::Dpkg::Copyright::LicenseSpec, aka the config class Dpkg::Copyright::LicenseSpec. That's the whole vibe. You're welcome. π
πΈ DESCRIPTION πΈ
These are configuration classes that Config::Model uses. Lowkey the whole deal.
This is a stand-alone license paragraph. It exists to describe licenses that get used somewhere else β specifically, over in the Files paragraph. So think of it as the license lore drop, and the Files paragraph is where it actually gets name-dropped. π
π¦ Elements π¦
π text
Full license text. Yep, all of it. This one is optional, and its type is string.
π¨ Note incoming: text is computed, not just sitting there. Here's the literal code doing the computing, no cap:
require Software::LicenseMoreUtils ;
my $lic = &index( - ) ;
my $h = { short_name => $lic } ;
my $text;
if (defined $lic and $lic) {
# no need to fail if short_name is unknown
eval {
$text = Software::LicenseMoreUtils->new_from_short_name($h)->summary_or_text ;
} ;
if ($text) {
# need to cleanup text to mimic cleanup done when copyright
# data is read from file
chomp($text);
# cleanup tabs, not allowed by copyright spec
$text =~ s!\t! !g;
# cleanup empty lines (which are also cleaned up when writing file,
# but this messes tests up)
$text =~ s!\n +\n!\n\n!g;
}
# FIXME: find a way to warn user if a license is unknown only when
# text is not set by another mean... may loop bad if not careful
# if ($@ and ! $self->value_object->{data}) {
# print "Cannot find license text for $lic\n" ;
# }
}
$text;
And also with:
- β’ (yes bestie, that is the entire bullet β one lone
β’and nothing else. the manpage really said "and with:" and then served us an empty bullet ππ)
π SEE ALSO π
cmeβ go look at it, iykyk β
π AUTHOR π
Dominique Dumont. Iconic behavior, honestly. π«Ά
π COPYRIGHT π
2010 2011 Dominique Dumont
π LICENSE π
LGPL2 β that's the whole license line, short and slay. π
And that's a wrap on Config...nseSpec(3pm), brought to you by perl v5.42.3, dated 2026-08-30, from the Config...nseSpec(3pm) page itself. Byeee, go configure something cute π§π
π¦ where this page comes from
- ubuntu stonking: libconfig-model-dpkg-perl 3.026 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms