From: Rafael Kitover Date: Mon, 1 Jun 2009 20:06:10 +0000 (+0000) Subject: make CGIBin synopsis less confusing X-Git-Tag: 0.030~23 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Controller-WrapCGI.git;a=commitdiff_plain;h=63283669a7954f748cbf54305094f2570390f325 make CGIBin synopsis less confusing --- diff --git a/Changes b/Changes index 9c19b9a..f283556 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ Revision history for Catalyst-Controller-WrapCGI +0.018 2009-06-01 20:04:41 + - remove forward example from synopsis in CGIBin, as that confuses people + 0.017 2009-05-30 09:56:43 - skip test that depends on unreleased runtime diff --git a/lib/Catalyst/Controller/CGIBin.pm b/lib/Catalyst/Controller/CGIBin.pm index 8cf9820..e0ca62c 100644 --- a/lib/Catalyst/Controller/CGIBin.pm +++ b/lib/Catalyst/Controller/CGIBin.pm @@ -23,11 +23,11 @@ Catalyst::Controller::CGIBin - Serve CGIs from root/cgi-bin =head1 VERSION -Version 0.017 +Version 0.018 =cut -our $VERSION = '0.017'; +our $VERSION = '0.018'; =head1 SYNOPSIS @@ -37,12 +37,6 @@ In your controller: use parent qw/Catalyst::Controller::CGIBin/; - # example of a forward to /cgi-bin/hlagh/mtfnpy.cgi - sub serve_cgi : Local Args(0) { - my ($self, $c) = @_; - $c->forward($self->cgi_action('hlagh/mtfnpy.cgi')); - } - In your .conf: diff --git a/lib/Catalyst/Controller/WrapCGI.pm b/lib/Catalyst/Controller/WrapCGI.pm index 26362ab..366d71e 100644 --- a/lib/Catalyst/Controller/WrapCGI.pm +++ b/lib/Catalyst/Controller/WrapCGI.pm @@ -20,11 +20,11 @@ Catalyst::Controller::WrapCGI - Run CGIs in Catalyst =head1 VERSION -Version 0.017 +Version 0.018 =cut -our $VERSION = '0.017'; +our $VERSION = '0.018'; =head1 SYNOPSIS diff --git a/lib/CatalystX/GlobalContext.pm b/lib/CatalystX/GlobalContext.pm index e402218..33da05c 100644 --- a/lib/CatalystX/GlobalContext.pm +++ b/lib/CatalystX/GlobalContext.pm @@ -15,11 +15,11 @@ CatalystX::GlobalContext - Export Catalyst Context =head1 VERSION -Version 0.017 +Version 0.018 =cut -our $VERSION = '0.017'; +our $VERSION = '0.018'; =head1 SYNOPSIS