The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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:

  • Parrot::Configure:Options::Conf::CLI

    ... for the command-line interface to Configure.pl; and

  • Parrot::Configure::Options::Conf::File

    ... for the configuration-file interface to that same program.

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.

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

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.