Test::AutoBuild::Counter - The base class for an AutoBuild stage
use Test::AutoBuild::Counter; my $counter = Test::AutoBuild::Counter->new(options => \%options); # Retrieve the current counter $counter->value();
Creates a new counter, with the options parameter providing in any sub-class specific configuration options.
Retrieves the subclass specific configuration option specified by the $name parameter. If the $newvalue parameter is supplied, then the configuration option is updated.
$name
$newvalue
This method should be implemented by subclasses to the logic required to generate the next build counter.
Daniel Berrange <dan@berrange.com>, Dennis Gregorovic <dgregorovic@alum.mit.edu>
Copyright (C) 2005 Daniel Berrange
perl(1), Test::AutoBuild, Test::AutoBuild::Runtime
perl(1)
To install Test::AutoBuild, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::AutoBuild
CPAN shell
perl -MCPAN -e shell install Test::AutoBuild
For more information on module installation, please visit the detailed CPAN module installation guide.