Rechercher une page de manuel
Debian::Control::Stanza::Binary.3pm
Langue: en
Version: 2009-06-05 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
Debian::Control::Stanza::Binary - binary stanza of Debian source package control fileSYNOPSIS
my $src = Debian::Control::Stanza::Binary->new(\%data); print $src; # auto-stringification print $src->Depends; # Debian::Dependencies object
DESCRIPTION
Debian::Control::Stanza::Binary can be used for representation and manipulation of "Package:" stanza of Debian source package control files in an object-oriented way. Converts itself to a textual representation in string context.FIELDS
The supported fields for binary stanzas are listed below. For more information about each field's meaning, consult the section named "Source package control files -- debian/control" of the Debian Policy Manual at <http://www.debian.org/doc/debian-policy/>Note that real control fields may contain dashes in their names. These are replaced with underscores.
- Package
- Architecture
- Section
- Priority
- Essential
- Depends
- Recommends
- Suggests
- Enhances
- Pre_Depends
- Conflicts
- Description
"Depends", "Conflicts", "Recommends", "Suggests", "Enhances" and "Pre_Depends" fields are converted to objects of Debian::Dependencies class upon construction.
CONSTRUCTOR
- new
- new( { field => value, ... } )
- Creates a new Debian::Control::Stanza::Binary object and optionally initializes it with the supplied data.
SEE ALSO
Debian::Control::Stanza::Source inherits most of its functionality from Debian::Control::StanzaCOPYRIGHT & LICENSE
Copyright (C) 2009 Damyan Ivanov dmn@debian.orgThis 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.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre