X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FController%2FCGIBin.pm;h=bad6d1d3b0352b8698d662ef33fcd2a9ae4fe325;hb=b9548267055b5d4dd01a342a40cc6e0ddf166460;hp=54d2dd4d1385f8487f87f170c06768d5c57c50f9;hpb=47b37cd335b85538133b6e2a590fd104cc380ef3;p=catagits%2FCatalyst-Controller-WrapCGI.git diff --git a/lib/Catalyst/Controller/CGIBin.pm b/lib/Catalyst/Controller/CGIBin.pm index 54d2dd4..bad6d1d 100644 --- a/lib/Catalyst/Controller/CGIBin.pm +++ b/lib/Catalyst/Controller/CGIBin.pm @@ -14,7 +14,7 @@ use Symbol 'gensym'; use List::MoreUtils 'any'; use IO::File (); use Carp; - + use namespace::clean -except => 'meta'; =head1 NAME @@ -23,11 +23,11 @@ Catalyst::Controller::CGIBin - Serve CGIs from root/cgi-bin =head1 VERSION -Version 0.010 +Version 0.016 =cut -our $VERSION = '0.010'; +our $VERSION = '0.016'; =head1 SYNOPSIS @@ -154,7 +154,7 @@ sub register_actions { =head2 cgi_action -C<<$self->cgi_action($cgi)>> +C<< $self->cgi_action($cgi) >> Takes a path to a CGI from C such as C and returns the action name it is registered as. See L for a discussion on how @@ -182,7 +182,7 @@ sub cgi_action { =head2 cgi_path -C<<$self->cgi_path($cgi)>> +C<< $self->cgi_path($cgi) >> Takes a path to a CGI from C such as C and returns the public path it should be registered under. @@ -202,7 +202,7 @@ sub cgi_path { =head2 is_perl_cgi -C<<$self->is_perl_cgi($path)>> +C<< $self->is_perl_cgi($path) >> Tries to figure out whether the CGI is Perl or not. @@ -230,7 +230,7 @@ sub is_perl_cgi { =head2 wrap_perl_cgi -C<<$self->wrap_perl_cgi($path, $action_name)>> +C<< $self->wrap_perl_cgi($path, $action_name) >> Takes the path to a Perl CGI and returns a coderef suitable for passing to cgi_to_response (from L.) @@ -294,7 +294,7 @@ sub wrap_perl_cgi { =head2 wrap_nonperl_cgi -C<<$self->wrap_nonperl_cgi($path, $action_name)>> +C<< $self->wrap_nonperl_cgi($path, $action_name) >> Takes the path to a non-Perl CGI and returns a coderef for executing it.