Test::AutoBuild::CountUser)Contributed Perl DocumenTest::AutoBuild::Counter(3)NAMETest::AutoBuild::Counter - The base class for an AutoBuild stage
SYNOPSIS
use Test::AutoBuild::Counter;
my $counter = Test::AutoBuild::Counter->new(options => \%options);
# Retrieve the current counter
$counter->value();
METHODS
my $stage = Test::AutoBuild::Counter->new(options => %options);
Creates a new counter, with the options parameter providing in any
sub-class specific configuration options.
$value = $counter->option($name[, $newvalue]);
Retrieves the subclass specific configuration option specified by
the $name parameter. If the $newvalue parameter is supplied, then
the configuration option is updated.
$counter->generate($runtime);
This method should be implemented by subclasses to the logic
required to generate the next build counter.
AUTHORS
Daniel Berrange <dan@berrange.com>, Dennis Gregorovic
<dgregorovic@alum.mit.edu>
COPYRIGHT
Copyright (C) 2005 Daniel Berrange
SEE ALSOperl(1), Test::AutoBuild, Test::AutoBuild::Runtime
perl v5.14.1 2011-09-01 Test::AutoBuild::Counter(3)