perl-Perinci-WebScript-JSON - From Rinci + function, Create Plack application that returns JSON response

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Perinci-WebScript-JSON
Package version 0.002
Package release alt1
Package architecture noarch
Package type rpm
Installed size 23.56 KB
Download size 23.56 KB
Official Mirror
In My/
package My::App;
use Encode::Simple;
our %SPEC;
$SPEC{uppercase} = {
v => 1.1,
args => {
input => {schema=>'str*', req=>1},
args_as => 'array',
result_naked => 1,
sub uppercase {
my ($input) = @_;
uc(decode 'UTF-8', $input);
To run as CGI script, create app.cgi:
use Perinci::WebScript::JSON;
Perinci::WebScript::JSON->new(url => '/My/App/uppercase')->run;
To run as FCGI script, create app.fcgi:
use Perinci::WebScript::JSON;
Perinci::WebScript::JSON->new(url => '/My/App/uppercase')->run;
=for Pod::Coverage ^(.+)$


Package Version Architecture Repository
perl-Perinci-WebScript-JSON - - -


Name Value
/usr/share/perl5 -
perl(JSON/ -
perl(Log/ >= 0.023
perl( -
perl(Perinci/Access/ -
perl(Perinci/Sub/GetArgs/ -
perl(Plack/Handler/ -
perl(Plack/Handler/ -
perl(Plack/ -
perl-base >= 1:5.10.1
rpmlib(PayloadIsLzma) -


Name Value
perl(Perinci/WebScript/ = 0.002
perl-Perinci-WebScript-JSON = 0.002-alt1


Type URL
Binary Package perl-Perinci-WebScript-JSON-0.002-alt1.noarch.rpm
Source Package perl-Perinci-WebScript-JSON-0.002-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Perinci-WebScript-JSON rpm package:
    # sudo apt-get install perl-Perinci-WebScript-JSON



See Also

Package Description
perl-Periscope-0.0.3-alt2.noarch.rpm Module for viewing sites through a periscope
perl-Perl-APIReference-0.22-alt1.noarch.rpm Programmatically query the perlapi
perl-Perl-AtEndOfScope-0.03-alt2_8.noarch.rpm Perl::AtEndOfScope - run some code when a variable goes out of scope
perl-Perl-Box-0.04-alt1.noarch.rpm is a ready to use Codio box. Start coding now!
perl-Perl-Build-1.29-alt1.noarch.rpm perl builder
perl-Perl-Build-Git-0.001000-alt1.noarch.rpm Convenience extensions for Perl::Build for bulk git work
perl-Perl-Build-scripts-1.29-alt1.noarch.rpm Perl-Build scripts
perl-Perl-Builtins-0.04-alt1.noarch.rpm A list of all Perl 5 built functions
perl-Perl-Command-0.01-alt1.noarch.rpm return a command for running Perl
perl-Perl-Compare-0.11-alt1.noarch.rpm Normalized Comparison for Perl Source Trees
perl-Perl-Configure-0.09-alt1.noarch.rpm Answer perl's ./Configure questions reproducibly
perl-Perl-Configure-scripts-0.09-alt1.noarch.rpm Perl-Configure scripts
perl-Perl-Core-0.0100-alt1.noarch.rpm Perl core essentials in a single import
perl-Perl-Critic-Bangs-1.12-alt1_6.noarch.rpm Collection of handy Perl::Critic policies
perl-Perl-Critic-CognitiveComplexity-0.5-alt1.noarch.rpm Cognitive Complexity, Because Testability != Understandability