Debian...:Files(3pm)
π Debian...:Files(3pm) π
okay bestie, so this is the manual for Debian::Copyright::Stanza::Files β it lives in the 3pm section of the perl man pages, under User Contributed Perl Documentation. Buckle up, it's giving niche-but-iconic π
β¨ NAME β¨
Debian::Copyright::Stanza::Files β the Files stanza of a Debian copyright file, but make it a perl module π¦
πΈ VERSION πΈ
This doc is describing Debian::Copyright::Stanza::Files version 0.2 . periodt. π
π SYNOPSIS π
my $copy = Debian::Copyright::Stanza::Files->new(\%data);
print $copy; # auto-stringification
likeβ¦ you make one, you print it, it stringifies itself. main character energy, no notes. β¨
π¦ DESCRIPTION π¦
So Debian::Copyright::Stanza::Files is your girl for representing and manipulating a "Files:" stanza from Debian copyright files, and she does it the object-oriented way πββοΈ
And the way she justβ¦ converts herself into a textual representation whenever you use her in string context?? obsessed. literally auto-stringification. π
π FIELDS π
here's every field a Files stanza supports, bestie, don't skip em:
heads up: real copyright fields can lowkey have dashes in their names. those get swapped out for underscores. no cap. π₯
FilesLicenseCopyrightComment
π CONSTRUCTOR π
new( { field => value, ... } )
makes you a brand new Debian::Copyright::Stanza::Files object, and if you want, it'll initialise itself with whatever data you hand it. optional, but why wouldn't you π«Ά
π METHODS π
is_or_separated($field)
returns true for the "License" field. that's it. that's the method. she's simple, she's iconic. β
π₯ SEE ALSO π₯
- Debian::Copyright::Stanza::Files inherits most of its functionality from Debian::Copyright::Stanza β so yeah, go read that one too, iykyk π§
π COPYRIGHT & LICENSE π
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.
no warranty bestie!! none!! she's free software and she's doing her best ππ
and that's the whole page, angel π this was perl v5.36.0, dated 2022-10-14, and it's the Debian...:Files(3pm) page from User Contributed Perl Documentation. slay, go write some copyright files πβ¨π¦
π¦ where this page comes from
- ubuntu noble: libdebian-copyright-perl 0.2-6 Β· GPL-2.0-or-later
- ubuntu resolute: libdebian-copyright-perl 0.2-6 Β· 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