35 |
my $out; |
my $out; |
36 |
my $pipe; |
my $pipe; |
37 |
|
|
38 |
|
$self->title( ref($self) . ' | ' . $self->pipe ); |
39 |
|
|
40 |
foreach my $part ( split(/\|/, $self->pipe ) ) { |
foreach my $part ( split(/\|/, $self->pipe ) ) { |
41 |
warn "# part: '$part'"; |
warn "# part: '$part'"; |
42 |
if ( $part =~ m{^([^/]+)/([^\+\?]+)(.*)?$} ) { |
if ( $part =~ m{^([^/]+)/([^\+\?]+)(.*)?$} ) { |
43 |
my ( $class, $method, $args ) = ( $1, $2, $3 ); |
my ( $class, $method, $args ) = ( $1, $2, $3 ); |
44 |
|
push @{ $self->status }, { $class => { method => $method, args => $args } }; |
45 |
my $params = $pipe; |
my $params = $pipe; |
46 |
$params = {} unless defined $params; |
$params = {} unless defined $params; |
47 |
if ( defined $args ) { |
if ( defined $args ) { |
71 |
} |
} |
72 |
} |
} |
73 |
|
|
74 |
return '<code>' . $self->pipe . '</code>' . $out; |
warn "# pipe ", $self->title, dump( $self->status ); |
75 |
|
|
76 |
|
return $out; |
77 |
} |
} |
78 |
|
|
79 |
1; |
1; |