NAME
Getopt::Yath::Option::Map - Base class for 'map' style options.
DESCRIPTION
Expects all values to be key=value pairs and produces a hashref. --opt foo=bar will set $h{foo} = 'bar'. If a split_on parameter is provided then a single use can set multiple values. For example if split_on is set to , then --opt foo=bar,baz=bat is provided, then the result will have $h{foo} = 'bar'; $h{baz} = 'bat'.
SYNOPSIS
option env_var => (
field => 'env_vars',
short => 'E',
type => 'Map',
long_examples => [' VAR=VAL'],
short_examples => ['VAR=VAL', ' VAR=VAL'],
description => 'Set environment variables',
);
SOURCE
The source code repository for Getopt-Yath can be found at http://github.com/Test-More/Getopt-Yath/.
MAINTAINERS
AUTHORS
COPYRIGHT
Copyright Chad Granum <exodist7@gmail.com>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.