/[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 212 by dpavlin, Thu Oct 30 22:35:11 2008 UTC revision 213 by dpavlin, Fri Oct 31 19:51:51 2008 UTC
# Line 22  has 'class' => ( Line 22  has 'class' => (
22    
23  use Data::Dump qw/dump/;  use Data::Dump qw/dump/;
24    
25  sub html {  sub request {
26          my ( $self, $req ) = @_;          my ( $self, $req ) = @_;
27    
28          my %params = $req->params;          my %params = $req->params;
# Line 49  sub html { Line 49  sub html {
49          } else {          } else {
50                  my $o = $class->new( %params );                  my $o = $class->new( %params );
51                  $o->depends if $o->can('depends');                  $o->depends if $o->can('depends');
52                  if ( $o->can('html') ) {                  if ( $o->can('request') ) {
53                          warn "## turning over to $o->html";                          warn "## turning over to $o->request";
54                          $o->html( $req );                          $o->request( $req );
55                  } elsif ( $o->can('markup') ) {                  } elsif ( $o->can('markup') ) {
56                          warn "## using $o->markup";                          warn "## using $o->markup";
57                          $html = $o->markup;                          $html = $o->markup;

Legend:
Removed from v.212  
changed lines
  Added in v.213

  ViewVC Help
Powered by ViewVC 1.1.26