/[Frey]/trunk/lib/Frey/Run.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/Frey/Run.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 789 by dpavlin, Sun Nov 30 23:49:32 2008 UTC revision 790 by dpavlin, Wed Dec 10 14:22:59 2008 UTC
# Line 137  sub html { Line 137  sub html {
137                          $o->title( $class );                          $o->title( $class );
138    
139                          $html = $o->page( body => $body ) if $body && !$html;                          $html = $o->page( body => $body ) if $body && !$html;
140                                    $self->content_type( $o->content_type );
141    
142                          confess "no html output for $class ", $o->dump unless defined $html;                          confess "no html output for $class ", $o->dump unless defined $html;
143                  };                  };
144    
# Line 153  sub html { Line 154  sub html {
154                  $html = $o->page( body => $self->error( $error ) );                  $html = $o->page( body => $self->error( $error ) );
155          }          }
156    
157          warn $self->class, " produced ", length($html), " bytes";          warn $self->class, " produced ", length($html), " bytes of ", $self->content_type;
158    
159          return $html;          return $html;
160  }  }

Legend:
Removed from v.789  
changed lines
  Added in v.790

  ViewVC Help
Powered by ViewVC 1.1.26