Revision history for Catalyst-Controller-WrapCGI
+0.024 2009-12-22 01:13:01
+ - revert passing args to coderefs (some CGIs might implicitly shift off
+ @ARGV .)
+
0.023 2009-12-22 00:41:10
- some code stole from CGI::Compile (until we can dep on it)
- correct line numbers for CGIs
=head1 VERSION
-Version 0.023
+Version 0.024
=cut
-our $VERSION = '0.023';
+our $VERSION = '0.024';
=head1 SYNOPSIS
Runs C<$coderef> in a CGI environment using L<HTTP::Request::AsCGI>, returns an
L<HTTP::Response>.
-C<$coderef> is passed the Controller instance, and C<$c>.
-
The CGI environment is set up based on C<$c>.
The environment variables to pass on are taken from the configuration for your
my $saved_error;
$env->setup;
- eval { $call->($self, $c) };
+ eval { $call->() };
$saved_error = $@;
$env->restore;