Changeset 10173 for lang/perl/HTTP-Server-Wrapper
- Timestamp:
- 04/23/08 16:08:30 (5 years ago)
- Location:
- lang/perl/HTTP-Server-Wrapper/trunk
- Files:
-
- 2 modified
-
examples/plusplus.pl (modified) (1 diff)
-
lib/HTTP/Server/Wrapper.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/HTTP-Server-Wrapper/trunk/examples/plusplus.pl
r10170 r10173 6 6 use HTTP::Server::Wrapper; 7 7 8 my $plusplus = HTTP::Server::Wrapper->new('config.yaml', handle_request => \&handle_request ); 9 $plusplus->conf->{global}->{log}->{fh} = \*STDERR; 10 $plusplus->run; 8 HTTP::Server::Wrapper->new('config.yaml', handle_request => \&handle_request )->run; 11 9 12 10 my %karma = {}; -
lang/perl/HTTP-Server-Wrapper/trunk/lib/HTTP/Server/Wrapper.pm
r10162 r10173 22 22 my $self = $class->NEXT( 'new' => { config => $config } ); 23 23 $self->set_handle_request(delete $opts{handle_request}) if $opts{handle_request}; 24 25 $self->conf->{global}->{log}->{fh} ||= \*STDERR; 24 26 25 27 return $self;
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)