Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
I'm new to Perl and i'm trying to implement REST API using Perl. I installed Apache2::REST , and i couldn't find enough detailed example to implement it (i'm poor in Perl).
Ok, i see the below details in the document attached with the module (http://search.cpan.org/~jeteve/Apache2-REST-0.07/lib/Apache2/REST.pm) ,
i use Apache2 with Mod Perl, my web root path is /usr/local/apache2/htdocs
and i see the Sample program/package named MyApp::REST::API in the document
My question is, where should i place this Package/program ?
under ..../htdocs/MyApp/REST/API.pm ? or ..../htdocs/API.pm? or how i tried both but no luck,..
Could any one please guide me to implement this API?