Perinci::Sub::Wrapper - A multi-purpose subroutine wrapping framework

Perinci::Sub::Wrapper (PSW for short) is an extensible subroutine wrapping framework. It generates code to do stuffs before calling your subroutine, like validate arguments, convert arguments from positional/array to named/hash or vice versa, etc; as...

PERLANCAR/Perinci-Sub-Wrapper-0.83 - 02 Jun 2016 06:40:02 GMT - Search in distribution

Perinci::Sub::Wrapper::Patch::HandlePHPArray - Convert {} to [] or vice versa to match functions' expectations

This module patches Perinci::Sub::Wrapper so the generated function wrapper code can convert argument "{}" to "[]" when function expects argument to be an array, or vice versa "[]" to "{}" when function expects a hash argument. This can help if funct...

PERLANCAR/Perinci-Sub-Wrapper-Patch-HandlePHPArray-0.03 - 18 Aug 2015 11:34:45 GMT - Search in distribution

wrap-with-perinci-sub-wrapper - Wrap subroutine with Perinci::Sub::Wrapper

This script is useful for testing Perinci::Sub::Wrapper. You specify input Rinci metadata either using "--meta" or using "--url" to get it from Riap URL. You then can show the code generated by the wrapper using "--show-code" ("-c"). Or, you can call...

PERLANCAR/App-PerinciUtils-0.09 - 17 May 2016 07:38:48 GMT - Search in distribution

Rinci - Language-neutral metadata for your code entities

PERLANCAR/Rinci-1.1.84 - 28 Dec 2016 06:38:15 GMT - Search in distribution

Perinci - Collection of Perl modules for Rinci and Riap

Perinci is a collection of modules for implementing/providing tools pertaining to Rinci and Riap, spread over several distributions for faster incremental releases. These tools include: * Wrapper Perinci::Sub::Wrapper is the subroutine wrapper which ...

PERLANCAR/Perinci-0.32 - 03 Sep 2015 11:17:45 GMT - Search in distribution

Data::Sah - Fast and featureful data structure validation

This distribution, "Data-Sah", implements compilers for producing Perl and JavaScript validators, as well as translatable human description text from Sah schemas. Compiler approach is used instead of interpreter for faster speed. The generated valida...

PERLANCAR/Data-Sah-0.87 - 14 Sep 2016 12:41:38 GMT - Search in distribution

Proc::Govern - Run child process and govern its various aspects

Proc::Govern is a child process manager. It is meant to be a convenient bundle (a single parent/monitoring process) for functionalities commonly needed when managing a child process. It comes with a command-line interface, govproc. Background story: ...

PERLANCAR/Proc-Govern-0.18 - 07 Apr 2016 11:27:27 GMT - Search in distribution

Params::Sah - Validate method/function parameters using Sah schemas

This module provides a way for functions to validate their parameters using Sah schemas. The interface is rather different than Params::Validate because it returns a validator *code* instead of directly validating parameters. The returned validator c...

PERLANCAR/Params-Sah-0.06 - 05 Jun 2016 05:53:54 GMT - Search in distribution

Test::Rinci - Test Rinci metadata

This module performs various checks on a module's Rinci metadata. It is recommended that you include something like "release-rinci.t" in your distribution if you add metadata to your code. If you use Dist::Zilla to build your distribution, there is D...

PERLANCAR/Test-Rinci-0.14 - 07 Mar 2016 03:10:54 GMT - Search in distribution

Getopt::Long::Complete - A drop-in replacement for Getopt::Long, with shell tab completion

This module provides a quick and easy way to add shell tab completion feature to your scripts, including scripts already written using the venerable Getopt::Long module. Currently bash and tcsh are directly supported; fish and zsh are also supported ...

PERLANCAR/Getopt-Long-Complete-0.30 - 03 Dec 2016 03:32:29 GMT - Search in distribution

Perinci::Examples - Various examples of Rinci metadata

This distribution contains an odd mix of various functions, variables, and other code entities, along with their Rinci metadata. Mostly used for testing Rinci specification and the various Perinci modules. Example scripts are put in a separate distri...

PERLANCAR/Perinci-Examples-0.79 - 12 Jan 2017 03:14:14 GMT - Search in distribution

Exporter::Rinci - A simple wrapper for Exporter for modules with Rinci metadata

Exporter::Rinci is a simple wrapper for Exporter. Before handing out control to Exporter's import(), it will look at the exporting module's @EXPORT, @EXPORT_OK, and %EXPORT_TAGS and if they are empty will fill them out with data from Rinci metadata (...

PERLANCAR/Exporter-Rinci-0.02 - 19 Jan 2016 10:13:18 GMT - Search in distribution

Perinci::CmdLine::Base - Base class for Perinci::CmdLine{::Classic,::Lite}

PERLANCAR/Perinci-CmdLine-Lite-1.72 - 16 Jan 2017 16:02:32 GMT - Search in distribution

Perinci::Object - Object-oriented interface for Rinci metadata

Rinci works using pure data structures, but sometimes it's convenient to have an object-oriented interface (wrapper) for those data. This module provides just that....

PERLANCAR/Perinci-Object-0.30 - 03 Feb 2017 11:17:22 GMT - Search in distribution

Perinci::Exporter - Metadata-aware Exporter

Perinci::Exporter is an exporter which can utilize information from Rinci metadata. If your package has Rinci metadata, consider using this exporter for convenience and flexibility. Features of this module: * List exportable routines from Rinci metad...

PERLANCAR/Perinci-Exporter-0.07 - 29 Sep 2015 05:02:00 GMT - Search in distribution

Perinci::Access - Wrapper for Perinci Riap clients

This module provides a convenient wrapper to select appropriate Riap client (Perinci::Access::*) objects based on URI scheme. /Foo/Bar/ -> Perinci::Access::Schemeless pl:/Foo/Bar -> Perinci::Access::Perl riap://perl/Foo/Bar/ -> Perinci::Access::Perl ...

PERLANCAR/Perinci-Access-0.44 - 17 Dec 2015 16:45:52 GMT - Search in distribution

Perinci::Sub::Util - Helper when writing functions

PERLANCAR/Perinci-Sub-Util-0.46 - 31 Jan 2017 03:10:51 GMT - Search in distribution

Perinci::CmdLine::Easy - A simple interface to run a subroutine as command-line app

NOTE: This is an experimental module. Perinci::CmdLine::Easy is a thin wrapper for Perinci::CmdLine and is meant to be a gentler or easier alternative to Perinci::CmdLine. You do not need to know any Rinci or Riap concepts, or provide your own metada...

PERLANCAR/Perinci-CmdLine-Easy-1.17 - 03 Sep 2015 11:31:00 GMT - Search in distribution

Perinci::Access::Schemeless - Base class for Perinci::Access::Perl

This class is the base class for Perinci::Access::Perl, and by default acts like Perinci::Access::Perl (e.g. given uri "/Foo/Bar/baz" it will refer to function "baz" in Perl package "Foo::Bar"; it also looks for Rinci metadata in %SPEC package variab...

PERLANCAR/Perinci-Access-Perl-0.87 - 10 Jun 2016 03:13:21 GMT - Search in distribution

Dist::Zilla::Plugin::Rinci::Wrap - Insert wrapper-generated code

This plugin inserts code generated by Perinci::Sub::Wrapper to your source code during building. This lets you add functionalities like argument validation, result validation, automatic retries, conversion of argument passing style, currying, and so ...

PERLANCAR/Dist-Zilla-Plugin-Rinci-Wrap-0.13 - 02 Jun 2016 06:39:33 GMT - Search in distribution

35 results (0.07 seconds)