91 |
$html = $o->page; |
$html = $o->page; |
92 |
} |
} |
93 |
$body = $o->as_markup unless $html; |
$body = $o->as_markup unless $html; |
|
|
|
94 |
warn ">>> markup $class ",length( $html || $body ), " ", $html ? 'html' : 'body', " bytes"; |
warn ">>> markup $class ",length( $html || $body ), " ", $html ? 'html' : 'body', " bytes"; |
95 |
} elsif ( $self->run eq 'as_sponge' ) { |
} elsif ( $self->run eq 'as_sponge' ) { |
96 |
$data = $o->as_sponge; |
$data = $o->as_sponge; |
116 |
push @{ $self->status }, { 'data' => $data }; |
push @{ $self->status }, { 'data' => $data }; |
117 |
} |
} |
118 |
if ( ! $html ) { |
if ( ! $html ) { |
119 |
$body .= Frey::View::Dumper->new( data => $data )->as_markup; |
$body = Frey::View::Dumper->new( data => $body )->as_markup if ref $body; |
120 |
|
$body .= Frey::View::Dumper->new( data => $data )->as_markup if defined $data; |
121 |
} |
} |
122 |
|
|
123 |
# override our status with one from object |
# override our status with one from object |