/[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 466 by dpavlin, Wed Nov 19 16:53:13 2008 UTC revision 467 by dpavlin, Wed Nov 19 19:28:09 2008 UTC
# Line 11  Shell pipes for structured data Line 11  Shell pipes for structured data
11    
12  =head1 EXAMPLE  =head1 EXAMPLE
13    
14   Frey::Feed/as_data + uri=https://blog.rot13.org/index.xml | Frey::Dumper/as_markup   Frey::Feed/as_data + uri=https://blog.rot13.org/index.xml | Frey::View::Dumper/as_markup
15    
16  this will produce following code:  this will produce following code:
17    
18          Frey::Dumper->new( data =>          Frey::View::Dumper->new( data =>
19                  Frey::Feed->new( uri => 'https://blog.rot13.org/index.xml' )->as_data                  Frey::Feed->new( uri => 'https://blog.rot13.org/index.xml' )->as_data
20          )->as_markup          )->as_markup
21    
# Line 24  this will produce following code: Line 24  this will produce following code:
24  has pipe => (  has pipe => (
25          is => 'rw',          is => 'rw',
26          required => 1,          required => 1,
27          default => 'Frey::Feed/as_data+uri=https://blog.rot13.org/index.xml|Frey::Dumper/as_markup',          default => 'Frey::Feed/as_data+uri=https://blog.rot13.org/index.xml|Frey::View::Dumper/as_markup',
28  );  );
29    
30  use Data::Dump qw/dump/;  use Data::Dump qw/dump/;

Legend:
Removed from v.466  
changed lines
  Added in v.467

  ViewVC Help
Powered by ViewVC 1.1.26