1 |
package Frey::Pipe; |
package Frey::Pipe; |
2 |
use Moose; |
use Moose; |
3 |
extends 'Frey'; |
extends 'Frey'; |
4 |
|
with 'Frey::Web'; |
5 |
|
|
6 |
use Frey::Action; |
use Frey::Action; |
7 |
|
|
44 |
if ( defined $args ) { |
if ( defined $args ) { |
45 |
$args =~ s{^[\?\+\s]}{}; |
$args =~ s{^[\?\+\s]}{}; |
46 |
warn "# class $class method $method args '$args'", $pipe ? " pipe args " . join(',',keys %$pipe) : '' if $self->debug; |
warn "# class $class method $method args '$args'", $pipe ? " pipe args " . join(',',keys %$pipe) : '' if $self->debug; |
47 |
|
push @{ $self->status }, { $class =>$args }; |
48 |
map { |
map { |
49 |
my ( $name, $value ) = ( $1, $2 ) if m{^([^=]+)=(.+)$} || confess "can't parse '$_'"; |
my ( $name, $value ) = ( $1, $2 ) if m{^([^=]+)=(.+)$} || confess "can't parse '$_'"; |
50 |
$params->{$name} = $value; |
$params->{$name} = $value; |