Rechercher une page de manuel
Test::AutoBuild::Publisher.3pm
Langue: en
Version: 2007-12-08 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
NAME
Test::AutoBuild::Publisher - Simple publishering of modulesSYNOPSIS
use Test::AutoBuild::Publisher my $publisher = Test::AutoBuild::Publisher->new(name => $name, label => $label, options => \%options); my $name = $publisher->name([$newname]); my $label = $publisher->label([$newlabel]); my $value = $publisher->option($name[, $newvalue]);
DESCRIPTION
The Test::AutoBuild::Publisher module provides an API for copying artifacts from the module build root to a destination directory.CONFIGURATION
The valid configuration options for the "publishers" block areMETHODS
- my $publisher = Test::AutoBuild::Publisher->new(name => $name, label => $label, [options => \%options]);
- Creates a new publisher object. "modules" is an array ref of Test::AutoBUild::Module objects representing the members of the publisher. "name" is a short alphanumeric token for the name of the publisher. "label" is a free text title for the publisher. "admin" is the name/contact details of the publisher administrator. "options" is a hash ref of arbitrary options for the publisher.
- my $name = $publisher->name([$newname]);
- Gets the name of the publisher. The name is a short alphanumeric token. If the "newname" parameter is supplied then the name is updated.
- my $label = $publisher->label([$newlabel]);
- Gets the label of the publisher. The label is a free text title for the publisher. If the "newlabel" parameter is supplied then the label is updated.
- my $value = $publisher->option($name, [$newvalue]);
- Gets the value corresponding to the option "name". If the second "newvalue" parameter is specified then the value for the option is updated.
AUTHORS
Daniel Berrange <dan@berrange.com>COPYRIGHT
Copyright (C) 2002-2004 Daniel Berrange <dan@berrange.com>SEE ALSO
perl(1), Test::AutoBuild::Publisher::Copy, Test::AutoBuild::Publisher::XSLTransformContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre