1Test::AutoBuild::CounteUrs(e3r)Contributed Perl DocumentTaetsito:n:AutoBuild::Counter(3)
2
3
4
6 Test::AutoBuild::Counter - The base class for an AutoBuild stage
7
9 use Test::AutoBuild::Counter;
10
11 my $counter = Test::AutoBuild::Counter->new(options => \%options);
12
13 # Retrieve the current counter
14 $counter->value();
15
17 my $stage = Test::AutoBuild::Counter->new(options => %options);
18 Creates a new counter, with the options parameter providing in any
19 sub-class specific configuration options.
20
21 $value = $counter->option($name[, $newvalue]);
22 Retrieves the subclass specific configuration option specified by
23 the $name parameter. If the $newvalue parameter is supplied, then
24 the configuration option is updated.
25
26 $counter->generate($runtime);
27 This method should be implemented by subclasses to the logic
28 required to generate the next build counter.
29
31 Daniel Berrange <dan@berrange.com>, Dennis Gregorovic
32 <dgregorovic@alum.mit.edu>
33
35 Copyright (C) 2005 Daniel Berrange
36
38 perl(1), Test::AutoBuild, Test::AutoBuild::Runtime
39
40
41
42perl v5.12.1 2007-12-08 Test::AutoBuild::Counter(3)