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( $_ ); |
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 |
|
|