--- trunk/lib/Frey/Run.pm 2008/11/06 20:56:44 327 +++ trunk/lib/Frey/Run.pm 2008/11/15 23:52:22 348 @@ -1,6 +1,7 @@ package Frey::Run; use Moose; -extends 'Frey::ClassLoader'; +#extends 'Frey::ClassLoader'; +extends 'Frey::PPI'; with 'Frey::Web'; with 'Frey::Config'; with 'Frey::Escape'; @@ -19,7 +20,7 @@ =cut -sub runnable { qw/data markup/ } +sub runnable { qw/data markup sponge/ } has 'class' => ( is => 'rw', @@ -57,16 +58,34 @@ warn "# $class config = ",dump( $values ); if ( @required ) { - $html = qq|
$@
};
}
warn ">>> markup $class ",length( $html ), " bytes\n";
+ } elsif ( $o->can('sponge') ) {
+ my $data = $o->sponge;
+ $html .= '' . join(' | ', @{$data->{NAME}} ) . ' |
---|---|
' . join(' | ', @$_ ) . ' |