Debian...:Header(3pm)

πŸ“¦
version 0.2 Β· 4 versions
, in ubuntu noble, ubuntu resolute

πŸ’– Debian...:Header(3pm) πŸ’–

okay bestie, so this is the manual for Debian::Copyright::Stanza::Header β€” part of the Perl-y little corner of Debian tooling, documented under User Contributed Perl Documentation. It's the ✨header stanza✨ of Debian copyright files, and it's here to make your life easier, fr fr. 🫢


🌸 NAME 🌸

Debian::Copyright::Stanza::Header β€” the header stanza of Debian copyright files. that's it, that's the whole vibe. πŸŽ€


🌟 VERSION 🌟

This doc describes Debian::Copyright::Stanza::Header version 0.2. iconic. no cap. πŸ’…


✨ SYNOPSIS ✨

here's the whole tease, look at her glow:

my $copy = Debian::Copyright::Stanza::Header->new(\%data);
print $copy;                         # auto-stringification

like, yes, she auto-stringifies. main character energy. πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

So Debian::Copyright::Stanza::Header is your girl for representation and manipulation of the header stanza of Debian copyright files β€” and she does it the object-oriented way, as a treat. πŸ’–

And the way that she converts herself to a textual representation in string context?? literally just print her and she serves. no extra steps. periodt. πŸ’€βœ¨


πŸŽ€ FIELDS πŸŽ€

here's the roster of supported fields for header stanzas, listed below like the little icons they are. 🌈

heads up bestie: real copyright fields might have dashes in their names. those get replaced with underscores. that's the rule, iykyk. 🧚
  • Format
  • Upstream_Name
  • Comment
  • Upstream_Contact
  • Source
  • Disclaimer
  • License
  • Copyright
  • Files_Excluded

πŸ“ CONSTRUCTOR πŸ“

new

new
new( { field => value, ... } )
  • new β€” creates a brand new Debian::Copyright::Stanza::Header object for you, glowing and ready. ✨
  • new( { field => value, ... } ) β€” same thing, except you optionally initialise it with the data you hand over. feed her, she thrives. 🫢

πŸ’œ SEE ALSO πŸ’œ

Debian::Copyright::Stanza::Header inherits most of its functionality from Debian::Copyright::Stanza β€” that's her mother, respect her. πŸ‘‘


Copyright (C) 2011-12 Nicholas Bamber nicholas@periapt.co.uk

This module is substantially based upon Debian::Control::Stanza::Source. Copyright (C) 2009 Damyan Ivanov dmn@debian.org

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 😭


and that's the whole page, bestie!! πŸ¦‹βœ¨ this was rendered out of perl v5.36.0, dated 2022-10-14, and honestly it ate. mwah. πŸ’…πŸ’–πŸŒˆ

πŸ“¦ where this page comes from