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.78 - 23 May 2015 15:46:26 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.05 - 30 Jul 2015 04:56:53 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 ...

SHARYANTO/Perinci-0.31 - 12 Nov 2013 08:52:33 GMT - Search in distribution

Rinci - Language-neutral metadata for your code entities

PERLANCAR/Rinci-1.1.77 - 30 Apr 2015 20:16:27 GMT - Search in distribution

Data::Sah - Fast and featureful data structure validation

This module, 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 validator cod...

PERLANCAR/Data-Sah-0.69 - 08 Jul 2015 09:33:40 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.09 - 17 Dec 2014 09:21:10 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.42 - 18 Aug 2015 11:33:43 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.04 - 22 Apr 2015 11:36:31 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.21 - 11 Dec 2014 08:40:08 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.16 - 03 Jan 2015 09:27:52 GMT - Search in distribution

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

PERLANCAR/Perinci-Sub-Util-0.41 - 04 Jan 2015 16:31:24 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.56 - 18 Aug 2015 11:34:17 GMT - Search in distribution

Perinci::Access::Lite - A lightweight Riap client library

This module is a lightweight alternative to Perinci::Access. It has less prerequisites but does fewer things. The things it supports: * Local (in-process) access to Perl modules and functions Currently only "call", "meta", and "list" actions are impl...

PERLANCAR/Perinci-Access-Lite-0.10 - 10 Jul 2015 15:35:48 GMT - Search in distribution

Perinci::Sub::CoerceArgs - Coerce arguments

I expect this to be a temporary solution until Data::Sah or Perinci::Sub::Wrapper has this functionality....

PERLANCAR/Perinci-Sub-CoerceArgs-0.04 - 17 May 2015 15:50:04 GMT - Search in distribution

Perinci::Sub::DepChecker - Check dependencies from 'deps' property

The 'deps' spec clause adds information about subroutine dependencies. This module performs check on it. This module is currently mainly used by Perinci::Sub::Wrapper....

SHARYANTO/Perinci-Sub-DepChecker-0.10 - 28 May 2014 03:00:36 GMT - Search in distribution

Perinci::CmdLine::Server - Create Perinci::CmdLine::Classic object and some functions to access it in a Perl package

Currently, Perinci::CmdLine::Classic-based CLI applications have a perceptible startup overhead (between 0.15-0.35s or even more, depending on your hardware, those numbers are for 2011-2013 PC/laptop hardware). Some of the cause of the overhead is su...

PERLANCAR/Perinci-CmdLine-Server-0.05 - 22 Apr 2015 13:23:12 GMT - Search in distribution

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

PERLANCAR/Perinci-CmdLine-Lite-1.27 - 17 Aug 2015 13:35:12 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.25 - 30 Apr 2015 07:31:29 GMT - Search in distribution

Perinci::Sub::GetArgs::Array - Get subroutine arguments from array

This module provides get_args_from_array(). This module is used by, among others, Perinci::Sub::GetArgs::Argv....

SHARYANTO/Perinci-Sub-GetArgs-Array-0.14 - 08 Jul 2014 13:18:36 GMT - Search in distribution