NAME

Parrot::Configure::Options::Conf - Functionality shared by all Parrot configuration options processing modes

SYNOPSIS

    use Parrot::Configure::Options::Conf qw(
        $script
        $parrot_version
        $svnid
        print_help
        print_version
     );

DESCRIPTION

Parrot::Configure::Options::Conf exports on demand certain variables and subroutines used in other packages which implement different modes of configuration options processing. Currently, these packages are:

EXPORTED VARIABLES

Three variables are exported on demand.

$script

Defaults to string 'Configure.pl', but may be overridden for testing purposes.

$parrot_version

String which is return value of Parrot::BuildUtil::parrot_version(); may be overridden for testing purposes.

$svnid

String holding a standard Subversion 'Id' tag; may be overridden for testing purposes.

EXPORTED SUBROUTINES

Two subroutines are exported on demand.

print_help()

Help message printed when perl Configure.pl --help is called. Takes no arguments; prints to STDOUT; implicitly returns true value upon success.

print_version()

Version number printed when perl Configure.pl --version is called. Takes no arguments; prints to STDOUT; implicitly returns true value upon success.

NOTES

The functionality in this package originally appeared in Configure.pl. It was transferred here and refactored by James E Keenan.

SEE ALSO

Configure.pl. Parrot::Configure::Options::Conf. Parrot::Configure::Options::Reconf. Parrot::Configure::Options::Conf::CLI. Parrot::Configure::Options::Conf::File.