/[Frey]/trunk/lib/Frey/Pipe.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/Pipe.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 932 by dpavlin, Mon Jan 5 20:56:32 2009 UTC revision 933 by dpavlin, Tue Jan 6 00:22:04 2009 UTC
# Line 65  sub as_markup { Line 65  sub as_markup {
65                          if ( $o->can('depends') ) {                          if ( $o->can('depends') ) {
66                                  $o->depends;                                  $o->depends;
67                                  my $current_head;                                  my $current_head;
68                                  $current_head->{$_} foreach $self->head;                                  $current_head->{$_}++ foreach $self->head;
69                                  foreach ( $o->head ) {                                  foreach ( $o->head ) {
70                                          next if $current_head->{$_}++;                                          next if $current_head->{$_}++;
71                                          $self->add_head( $_ );                                          $self->add_head( $_ );
# Line 75  sub as_markup { Line 75  sub as_markup {
75                          my $result = $o->$method;                          my $result = $o->$method;
76                          warn "# result ",length( $result ), " bytes ", ref($result);                          warn "# result ",length( $result ), " bytes ", ref($result);
77    
78                          $self->add_status({ $part => { $class => { method => $method, args => $args } } });                          my $current_status;
79                            $current_status->{$_}++ foreach $self->status;
80                            foreach ( $o->status ) {
81                                    next if $current_status->{$_}++;
82                                    $self->add_status( $_ );
83                                    warn "# pipe add_status: $_";
84                            }
85    
86                          $self->content_type( $o->content_type ) if $o->can('content_type');                          $self->content_type( $o->content_type ) if $o->can('content_type');
87    

Legend:
Removed from v.932  
changed lines
  Added in v.933

  ViewVC Help
Powered by ViewVC 1.1.26