CGI-Application-Plugin-REST
view release on metacpan or search on metacpan
lib/CGI/Application/Plugin/REST.pm view on Meta::CPAN
callback which will add debug information about the current route (See L<rest_route_info|rest_route_info()>),
parameters (See L<rest_param|rest_param()>) etc.
=head1 FUNCTIONS
The following functions are available. None of them are exported by default.
You can use the C<:all> tag to import all public functions.
=cut
# Plug in to CGI::Application and setup our callbacks
#
sub import {
my $caller = scalar caller;
$caller->add_callback(
'init',
sub {
my ($self) = @_;
$self->mode_param( \&_rest_dispatch );
( run in 1.532 second using v1.01-cache-2.11-cpan-9b1e4054eb1 )