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:
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.
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.
Parrot::BuildUtil::parrot_version()
$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.
perl Configure.pl --help
print_version()
Version number printed when perl Configure.pl --version is called. Takes no arguments; prints to STDOUT; implicitly returns true value upon success.
perl Configure.pl --version
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.
To install Parrot::Op, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Parrot::Op
CPAN shell
perl -MCPAN -e shell install Parrot::Op
For more information on module installation, please visit the detailed CPAN module installation guide.