/[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 325 by dpavlin, Thu Nov 6 18:03:06 2008 UTC revision 326 by dpavlin, Thu Nov 6 20:25:27 2008 UTC
# Line 5  with 'Frey::Web'; Line 5  with 'Frey::Web';
5  with 'Frey::Config';  with 'Frey::Config';
6  with 'Frey::Escape';  with 'Frey::Escape';
7    
8    use Data::Dump qw/dump/;
9    use Frey::Dumper;
10    
11  =head1 NAME  =head1 NAME
12    
13  Frey::Run - display required form field for Class and run it  Frey::Run - display required form field for Class and run it
# Line 30  has 'params' => ( Line 33  has 'params' => (
33          default => sub { {} },          default => sub { {} },
34  );  );
35    
 use Data::Dump qw/dump/;  
   
36  sub html {  sub html {
37          my ( $self ) = @_;          my ( $self ) = @_;
38    
# Line 80  sub html { Line 81  sub html {
81                          }                          }
82                          warn ">>> markup $class ",length( $html ), " bytes\n";                          warn ">>> markup $class ",length( $html ), " bytes\n";
83                  } elsif ( $o->can('data') ) {                  } elsif ( $o->can('data') ) {
84                          $html = '<code>' . $self->html_escape( dump( $o->data ) ) . '</code>';                          my $data = $o->data;
85                            $html .= Frey::Dumper->new( data => $data )->markup;
86                            $html .= '<hr/><code>' . $self->html_escape( dump( $data ) ) . '</code>';
87                  } else {                  } else {
88                          $html = "IGNORE: $class ", $o->dump;                          $html = "IGNORE: $class ", $o->dump;
89                          warn $html;                          warn $html;

Legend:
Removed from v.325  
changed lines
  Added in v.326

  ViewVC Help
Powered by ViewVC 1.1.26