Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
tokubass committed Aug 22, 2016
1 parent 8628743 commit 3c604f9
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,26 @@
# p5-Getopt-CodeGenerator
# NAME

Getopt::CodeGenerator - for Getopt::Long code geenerator

# SYNOPSIS

$ perl -Ilib -MGetopt::CodeGenerator='--foo a --bar 2 --mix 1 a --dry-run'
use Getopt::Long qw(:config posix_default no_ignore_case gnu_compat);
my %opt;
my $res = GetOptions(
'foo=s' => \$opt{foo},
'bar=i' => \$opt{bar},
'mix=s{2}' => \@{$opt{mix}},
'dry-run' => \$opt{dry_run},
);

# LICENSE

Copyright (C) tokubass.

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.

# AUTHOR

tokubass <tokubass {at} cpan.org>

0 comments on commit 3c604f9

Please sign in to comment.