NAME

Devel::Git::MultiBisect::Opts - Prepare parameters for Devel::Git::MultiBisect

SYNOPSIS

use Devel::Git::MultiBisect::Opts qw( process_options );

my $params = process_options();

DESCRIPTION

This package exports on demand only one subroutine, process_options(), used to prepare parameters for Devel::Git::MultiBisect.

process_options() takes as arguments an optional list of key-value pairs. This approach is useful in testing the subroutine but is not expected to be used otherwise.

process_options() is a wrapper around Getopt::Long::GetOptions(). It returns a reference to a hash populated with values in the following order:

1 Default values hard-coded within the subroutine.
2 Command-line options.
3 Key-value pairs provided as arguments to the function.