Parrot::Configure::Step - Configuration step base class
use base qw(Parrot::Configure::Step);
The Parrot::Configure::Step module contains the constructor and utility methods that should be inherited by all configuration steps.
Parrot::Configure::Step
new()
Basic constructor.
Accepts no arguments and returns a Parrot::Configure::Step:: object. Requires user to define an _init() method in the inheriting configuration class. This initializer sets a description attribute in the object's data structure and may set other attributes as well. Should the initializer fail to set a description attribute, the constructor sets it to be an empty string. Hence, when a configuration step is executed by Configure.pl, the description for that step is always defined but may not be a true value.
_init()
description
description()
Accepts no arguments and returns the value of the description attribute. The description ought to be set in the _init() initializer in the inheriting class's namespace. If it was not set there, the constructor sets it to an empty string.
set_result()
Accepts a scalar value and assigns it to the inheriting class's $result variable. Returns the inheriting class's name.
$result
result()
Accepts no arguments and returns the value of $result from the inheriting class's namespace.
Joshua Hoblitt jhoblitt@cpan.org
jhoblitt@cpan.org
docs/configuration.pod, Parrot::Configure, Parrot::Configure::Data, Parrot::Configure::Compiler
To install Rakudo::Star, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Rakudo::Star
CPAN shell
perl -MCPAN -e shell install Rakudo::Star
For more information on module installation, please visit the detailed CPAN module installation guide.