NAME

Getopt::Yath::Option::List - Options that can take multiple values.

DESCRIPTION

Can take multiple values. --opt VAL appends a value to the list. --no-opt will empty the list. 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 is provided, then foo and bar will both be added to the list.

SYNOPSIS

option copy_env => (
    short => 'e',
    type => 'List',
    description => "Specify environment variables to pass along with their current values",
    long_examples => [ ' HOME', ' SHELL' ],
    short_examples => [ ' HOME', ' SHELL' ],
);

SOURCE

The source code repository for Getopt-Yath can be found at http://github.com/Test-More/Getopt-Yath/.

MAINTAINERS

Chad Granum <exodist@cpan.org>

AUTHORS

Chad Granum <exodist@cpan.org>

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.

See http://dev.perl.org/licenses/