DOKK / manpages / debian 12 / libdebian-copyright-perl / Debian::Copyright::Stanza::Header.3pm.en
Debian::Copyright::Stanza::Header(3pm) User Contributed Perl Documentation Debian::Copyright::Stanza::Header(3pm)

Debian::Copyright::Stanza::Header - header stanza of Debian copyright file

This document describes Debian::Copyright::Stanza::Header version 0.2 .

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

Debian::Copyright::Stanza::Header can be used for representation and manipulation of the header stanza of Debian copyright files in an object-oriented way. Converts itself to a textual representation in string context.

The supported fields for header stanzas are listed below.

Note that real copyright fields may contain dashes in their names. These are replaced with underscores.

Creates a new Debian::Copyright::Stanza::Header object and optionally initialises it with the supplied data.

Debian::Copyright::Stanza::Header inherits most of its functionality from Debian::Copyright::Stanza

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.

2022-10-14 perl v5.34.0