Matt S Trout > Rakudo-Star-2012.08_001 > Parrot::Configure::Options::Conf::CLI

Download:
Rakudo-Star-2012.08_001.tar.gz

Dependencies

Annotate this POD

Source  

NAME ^

Parrot::Configure::Options::Conf::CLI - Options processing functionality for Parrot's standard command-line interface

SYNOPSIS ^

    use Parrot::Configure::Options::Conf::CLI qw(
        @valid_options
        $script
        %options_components
        $parrot_version
    );

DESCRIPTION ^

This package exports four variables on demand.

    %options_components
    @valid_options
    $script
    $parrot_version

Typically, only one of these -- %options_components -- is directly imported by Parrot::Configure::Options for use in the case where options are supplied to Configure.pl on the command-line. But all five are, in principle, importable by other packages.

%options_components

    %options_components = (
        'valid_options'  => \@valid_options,
        'script'         => $script,
        'short_circuits' => \%short_circuits,
        'conditionals'   => \&conditional_assignments,
    );

Hash with four elements keyed as follows:

NOTES ^

The functionality in this package originally appeared in Configure.pl. It was transferred here and adapted for configuration by file by James E Keenan.

SEE ALSO ^

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

syntax highlighting: