VERSION

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

SYNOPSIS

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

DESCRIPTION

Debian::Copyright::Stanza::Files can be used for representation and manipulation of a \*(C`Files:\*(C' stanza of Debian copyright files in an object-oriented way. Converts itself to a textual representation in string context.

FIELDS

The supported fields for Files stanzas are listed below.

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

Files
License
Copyright
Comment

CONSTRUCTOR

new( { field => value, ... } )

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

METHODS

is_or_separated($field)

Returns true for the \*(C`License\*(C' field.

RELATED TO Debian::Copyright::Stanza::Files…

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

COPYRIGHT & LICENSE

Copyright (C) 2011-12 Nicholas Bamber [email protected]

This module is substantially based upon Debian::Control::Stanza::Source. Copyright (C) 2009 Damyan Ivanov [email protected]

This program is free software; you can redistribute it and/or modify it under the terms of the \s-1GNU\s0 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 \s-1WITHOUT\s0 \s-1ANY\s0 \s-1WARRANTY\s0; without even the implied warranty of \s-1MERCHANTABILITY\s0 or \s-1FITNESS\s0 \s-1FOR\s0 A \s-1PARTICULAR\s0 \s-1PURPOSE\s0.