Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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 install

Or, 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-Mixed

The main bug tracker is also on GitHub:
https://github.com/cxw42/Getargs-Mixed/issues

If 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.