/[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 367 by dpavlin, Thu Nov 6 20:56:44 2008 UTC revision 368 by dpavlin, Mon Nov 17 13:34:56 2008 UTC
# Line 1  Line 1 
1  package Frey::Pipe;  package Frey::Pipe;
2  use Moose;  use Moose;
3    
4    with 'Frey::Config';
5    
6  =head1 DESCRIPTION  =head1 DESCRIPTION
7    
8  Shell pipes for structured data  Shell pipes for structured data
# Line 44  sub markup { Line 46  sub markup {
46                                          $params->{$name} = $value;                                          $params->{$name} = $value;
47                                  } split(/[\s\+]/, $args)                                  } split(/[\s\+]/, $args)
48                          }                          }
49                            my $default = $self->config( $class );
50                            foreach my $arg ( keys %$default ) {
51                                    $params->{$arg} = $default->{$arg} if ! $params->{$arg};
52                            }
53                          my $code = '$result = ' . $class . '->new' . dump( %$params ) . '->' . $method . '();';                          my $code = '$result = ' . $class . '->new' . dump( %$params ) . '->' . $method . '();';
54                          warn "# pipe $part -> $code";                          warn "# pipe $part -> $code";
55                          my $result;                          my $result;

Legend:
Removed from v.367  
changed lines
  Added in v.368

  ViewVC Help
Powered by ViewVC 1.1.26