47 |
if ( $o->can('html') ) { |
if ( $o->can('html') ) { |
48 |
warn "## turning over to $o->html"; |
warn "## turning over to $o->html"; |
49 |
$o->html( $req ); |
$o->html( $req ); |
50 |
} else { |
} elsif ( $o->can('markup') ) { |
51 |
warn "## using $o->markup"; |
warn "## using $o->markup"; |
52 |
$html = $o->markup; |
$html = $o->markup; |
53 |
|
warn ">>> markup $class ",length( $html ), " bytes\n"; |
54 |
|
} else { |
55 |
|
$html = "IGNORE: $class ", $o->dump; |
56 |
|
warn $html; |
57 |
} |
} |
58 |
} |
} |
59 |
|
|
|
warn ">>> markup $class ",length( $html ), " bytes\n"; |
|
60 |
$req->print( $self->page( title => $class, body => $html ) ); |
$req->print( $self->page( title => $class, body => $html ) ); |
61 |
} |
} |
62 |
|
|