pkgsrc/devel/p5-Data-OptList/DESCR
abs eb6a9130f6 Added devel/p5-Data-OptList version 0.101
parse and validate simple name/value option pairs. Example:

  use Data::OptList;

  my $options = Data::Optlist::mkopt([
    qw(key1 key2 key3 key4),
    key5 => { ... },
    key6 => [ ... ],
    key7 => sub { ... },
    key8 => { ... },
    key8 => [ ... ],
  ]);
2007-06-10 11:41:09 +00:00

12 lines
266 B
Text

parse and validate simple name/value option pairs. Example:
use Data::OptList;
my $options = Data::Optlist::mkopt([
qw(key1 key2 key3 key4),
key5 => { ... },
key6 => [ ... ],
key7 => sub { ... },
key8 => { ... },
key8 => [ ... ],
]);