CGI-Application-Plugin-REST
If you use the CGI::Application framework, this plugin will help you create a
RESTful (that's the common term for "using REST") architecture by abstracting
out a lot of the busy work needed to make it happen.
INSTALLATION
If you have the Module::Signature module installed, you can verify the
integrity of this distribution by typing:
cpansign -v
Module::Signature requires GnuPG which you can get from:
http://www.gnupg.org/download/
A binary version for Windows is available from that page.
Then to install this module, run the following commands:
perl Build.pl
./Build
./Build test
./Build install
On Windows you don't need to type the preliminary ./
Alternatively, you can do:
perl Makefile.PL
make
make test
make install
If you are using ActiveState perl on Windows and you don't have a make
utility, you can download nmake from:
http://download.microsoft.com/download/vc15/patch/1.52/w95/en-us/nmake15.exe
(Replace make with nmake in the instructions above if you are using it.)
If you are using Strawberry perl on Windows, it comes with a make utility
called dmake. (Replace make with dmake in the instructions above if you are
using it.)
DEPENDENCIES
This module is pure perl and should work with any version of perl, 5.008 or
greater. It requires these other modules from CPAN:
CGI::Application 4.04
REST-Utils 0.4
At build time you will need the above modules plus the following if you want
to run the tests:
CGI::Application::Plugin::DevPopup
Test::LongString
Test::WWW::Mechanize::CGIApp
The signature can be tested by installing the following module:
Module::Signature
and setting the environment variable TEST_SIGNATURE to 1.
SUPPORT AND DOCUMENTATION
After installing, you can find documentation for this module with the perldoc
command.
perldoc CGI::Application::Plugin::REST
You can also look for information at:
Search CPAN
http://search.cpan.org/dist/CGI-Application-Plugin-REST
CPAN Request Tracker:
http://rt.cpan.org/NoAuth/Bugs.html?Dist=CGI-Application-Plugin-REST
AnnoCPAN, annotated CPAN documentation:
http://annocpan.org/dist/CGI-Application-Plugin-REST
CPAN Ratings:
http://cpanratings.perl.org/d/CGI-Application-Plugin-REST
COPYRIGHT AND LICENCE
Copyright (C) 2010 Consolidated Braincells Inc. All rights reserved.
This distribution is free software; you can redistribute it and/or modify it
under the terms of either:
a) the GNU General Public License as published by the Free Software
Foundation; either version 2, or (at your option) any later version, or
b) the Artistic License version 2.0.
The full text of the license can be found in the LICENSE file included
with this distribution.