Changeset 10552
- Timestamp:
- 04/27/08 16:07:15 (7 months ago)
- Location:
- lang/perl/HTTP-Engine/trunk
- Files:
-
- 2 modified
-
Changes (modified) (1 diff)
-
lib/HTTP/Engine/Plugin/Interface/Test.pm (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/HTTP-Engine/trunk/Changes
r10535 r10552 1 1 Revision history for Perl extension HTTP::Engine 2 3 - fix Interface::Test dosent work bug 2 4 3 5 0.0.2 2008-04-27T13:50:44+09:00 -
lang/perl/HTTP-Engine/trunk/lib/HTTP/Engine/Plugin/Interface/Test.pm
r10259 r10552 1 package HTTP::Engine::Plugin::Interface:: Standalone;1 package HTTP::Engine::Plugin::Interface::Test; 2 2 use strict; 3 3 use warnings; … … 6 6 use HTTP::Request::AsCGI; 7 7 8 sub run : InterfaceMethod {8 sub run :Method { 9 9 my($senf, $c, $request, $env) = @_; 10 10 $env ||= \%ENV; … … 25 25 =head1 NAME 26 26 27 HTTP::Engine::Plugin::Interface::Test - HTTP::Engine Test Engine27 HTTP::Engine::Plugin::Interface::Test - HTTP::Engine Test Interface 28 28 29 29 =head1 SYNOPSIS … … 31 31 use HTTP::Engine; 32 32 my $response = HTTP::Engine->new( 33 config => { plugins => [ { module => 'Interface:: Engine' } ] },33 config => { plugins => [ { module => 'Interface::Test' } ] }, 34 34 handle_request => sub { 35 35 my $c = shift; 36 $c->env('DUM Y');36 $c->env('DUMMY'); 37 37 $c->res->body( Dumper($e) ); 38 38 }
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)