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. 🫢


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