| parrotcode: Functionality shared by all Parrot | |
| Contents | Perl Modules |

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

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

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:
... for the command-line interface to Configure.pl; and
... for the configuration-file interface to that same program.

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.

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.

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

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