1Test::AutoBuild::PublisUhseerr(3C)ontributed Perl DocumeTnetsatt:i:oAnutoBuild::Publisher(3)
2
3
4
6 Test::AutoBuild::Publisher - Simple publishering of modules
7
9 use Test::AutoBuild::Publisher
10
11 my $publisher = Test::AutoBuild::Publisher->new(name => $name,
12 label => $label,
13 options => \%options);
14
15 my $name = $publisher->name([$newname]);
16 my $label = $publisher->label([$newlabel]);
17 my $value = $publisher->option($name[, $newvalue]);
18
20 The Test::AutoBuild::Publisher module provides an API for copying
21 artifacts from the module build root to a destination directory.
22
24 The valid configuration options for the "publishers" block are
25
27 my $publisher = Test::AutoBuild::Publisher->new(name => $name, label =>
28 $label, [options => \%options]);
29 Creates a new publisher object. "modules" is an array ref of
30 Test::AutoBUild::Module objects representing the members of the
31 publisher. "name" is a short alphanumeric token for the name of the
32 publisher. "label" is a free text title for the publisher. "admin"
33 is the name/contact details of the publisher administrator.
34 "options" is a hash ref of arbitrary options for the publisher.
35
36 my $name = $publisher->name([$newname]);
37 Gets the name of the publisher. The name is a short alphanumeric
38 token. If the "newname" parameter is supplied then the name is
39 updated.
40
41 my $label = $publisher->label([$newlabel]);
42 Gets the label of the publisher. The label is a free text title for
43 the publisher. If the "newlabel" parameter is supplied then the
44 label is updated.
45
46 my $value = $publisher->option($name, [$newvalue]);
47 Gets the value corresponding to the option "name". If the second
48 "newvalue" parameter is specified then the value for the option is
49 updated.
50
52 Daniel Berrange <dan@berrange.com>
53
55 Copyright (C) 2002-2004 Daniel Berrange <dan@berrange.com>
56
58 perl(1), Test::AutoBuild::Publisher::Copy,
59 Test::AutoBuild::Publisher::XSLTransform
60
61
62
63perl v5.12.1 2007-12-08 Test::AutoBuild::Publisher(3)