Changeset 320
- Timestamp:
- 02/17/08 16:34:42 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/plugins/cpan/HTTP-Server-Simple-Kwiki-0.29/lib/HTTP/Server/Simple/Kwiki.pm
r229 r320 19 19 $self->serve_static($cgi, "."); 20 20 } else { 21 my $capture = IO::Capture::Stdout->new(); 22 $capture->start(); 23 Kwiki::Boot->debug->boot->kwiki->process; 24 $capture->stop(); 25 my $output = join '', $capture->read; 21 my $output = ''; 22 open my $fh, '>', \$output or die "Can't open: $!"; 23 { 24 my $old_fh = select $fh; 25 Kwiki::Boot->debug->boot->kwiki->process; 26 select $old_fh; 27 } 26 28 27 29 if ($output =~ m{^Status: 302}) {
