Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cxw42/getargs-mixed
Parse Perl subroutine arguments, positional or named.
https://github.com/cxw42/getargs-mixed
argument-parser argument-parsers argument-parsing arguments named-arguments perl perl5 positional-arguments subroutines
Last synced: about 1 month ago
JSON representation
Parse Perl subroutine arguments, positional or named.
- Host: GitHub
- URL: https://github.com/cxw42/getargs-mixed
- Owner: cxw42
- Created: 2019-02-08T18:08:29.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-22T17:54:35.000Z (over 5 years ago)
- Last Synced: 2024-06-21T18:45:37.830Z (6 months ago)
- Topics: argument-parser, argument-parsers, argument-parsing, arguments, named-arguments, perl, perl5, positional-arguments, subroutines
- Language: Perl
- Homepage: https://metacpan.org/pod/Getargs::Mixed
- Size: 34.2 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: Changes
Awesome Lists containing this project
README
Getargs::Mixed
==============This is a handy little module to help you handle mixed argument lists passed
to subroutines. This can handle positional, named, and mixed positional/named
argument lists passed to subroutines. This is done by providing a simple
specification that can also handle object-oriented, procedural or mixed
object-oriented/procedural situations and returns the passed arguments as
a hash.See the POD docs at https://metacpan.org/pod/Getargs::Mixed for details.
INSTALLATION
To install this module type the following:
perl Makefile.PL
make
make test
make installOr, if you have App::cpanminus installed, "cpanm Getargs::Mixed".
DEPENDENCIES
Doesn't have any if you have a typical Perl 5.8.0 or higher distribution
installed. It may work on Perl 5.6 as well, but I haven't been able to test
this theory.CONTRIBUTING AND REPORTING BUGS
The code is on GitHub:
https://github.com/cxw42/Getargs-MixedThe main bug tracker is also on GitHub:
https://github.com/cxw42/Getargs-Mixed/issuesIf you want to report bugs through the RT system, that's fine too:
Web: https://rt.cpan.org/Public/Dist/Display.html?Name=Getargs-Mixed
Email: [email protected]The Appveyor build is at https://ci.appveyor.com/project/cxw42/getargs-mixed .
COPYRIGHT AND LICENCE
Copyright (C) 2003--2019 Andrew Sterling Hanenkamp, Christopher White
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.