Skip to content

Commit

Permalink
POD fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
rcaputo committed May 25, 2011
1 parent c3c9eb9 commit 087d339
Show file tree
Hide file tree
Showing 29 changed files with 68 additions and 25 deletions.
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ COPYRIGHT and LICENSE



perl v5.10.0 2011‐05‐23 App::PipeFilter(3)
perl v5.10.0 2011‐05‐24 App::PipeFilter(3)
2 changes: 2 additions & 0 deletions bin/jcat
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ exit App::PipeFilter::JsonCat->new_with_options()->run();

__END__

=pod

=head1 NAME

jcat - concatenate and print JSON files
Expand Down
2 changes: 2 additions & 0 deletions bin/jcut
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ exit App::PipeFilter::JsonCut->new_with_options()->run();

__END__

=pod

=head1 NAME

jcut - cut out selected portions of each JSON object in a file
Expand Down
2 changes: 2 additions & 0 deletions bin/jmap
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ exit App::PipeFilter::JsonMap->new_with_options()->run();

__END__

=pod

=head1 NAME

jmap - map input JSON fields to output JSON fields by renaming them
Expand Down
2 changes: 2 additions & 0 deletions bin/json2yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ exit App::PipeFilter::JsonToYaml->new_with_options()->run();

__END__

=pod

=head1 NAME

json2yaml - convert files of JSON objects into a stream of YAML objects
Expand Down
2 changes: 2 additions & 0 deletions bin/jsonpath
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ exit App::PipeFilter::JsonPath->new_with_options()->run();

__END__

=pod

=head1 NAME

jsonpath - use JSON::Path to cut out selected portions of JSON objects
Expand Down
2 changes: 2 additions & 0 deletions bin/jsort
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ exit App::PipeFilter::JsonSort->new_with_options()->run();

__END__

=pod

=head1 NAME

jsort - sort input files of JSON objects on key fields
Expand Down
2 changes: 2 additions & 0 deletions bin/mysql2json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ exit App::PipeFilter::MysqlToJson->new_with_options()->run();

__END__

=pod

=head1 NAME

mysql2json - convert mysql -B output to JSON object streams
Expand Down
4 changes: 2 additions & 2 deletions dist.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name = App-PipeFilters
version = 0.001
name = App-PipeFilter
version = 0.002
author = Rocco Caputo <rcaputo@cpan.org>
license = Perl_5
copyright_holder = Rocco Caputo
Expand Down
2 changes: 2 additions & 0 deletions lib/App/PipeFilter.pm
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
=pod
=head1 NAME
App::PipeFilter
Expand Down
2 changes: 2 additions & 0 deletions lib/App/PipeFilter/Generic.pm
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ sub filter_file {

__END__
=pod
=head1 NAME
App::PipeFilter::Generic - a generic pipeline filter
Expand Down
2 changes: 2 additions & 0 deletions lib/App/PipeFilter/Generic/Json.pm
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ with qw(

__END__
=pod
=head1 NAME
App::PipeFilter::Generic::Json - a generic JSON pipeline filter
Expand Down
2 changes: 2 additions & 0 deletions lib/App/PipeFilter/JsonCat.pm
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ with 'App::PipeFilter::Role::Transform::None';

__END__
=pod
=head1 NAME
App::PipeFilter::JsonCat - useless use of cat(1) for JSON streams
Expand Down
2 changes: 2 additions & 0 deletions lib/App/PipeFilter/JsonCut.pm
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ sub transform {

__END__
=pod
=head1 NAME
App::PipeFilter::JsonCut - return specified fields from a JSON stream
Expand Down
5 changes: 3 additions & 2 deletions lib/App/PipeFilter/JsonMap.pm
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,11 @@ sub transform {

__END__
=pod
=head1 NAME
App::PipeFilter::JsonMap - map input fields to output fields by
renaming them
App::PipeFilter::JsonMap - map input fields to output fields by renaming them
=head1 SYNOPSIS
Expand Down
5 changes: 3 additions & 2 deletions lib/App/PipeFilter/JsonPath.pm
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,11 @@ sub transform {

__END__
=pod
=head1 NAME
App::PipeFilter::JsonPath - return JSON::Path-specified fields from a
JSON stream
App::PipeFilter::JsonPath - return JSON::Path-specified fields from a JSON stream
=head1 SYNOPSIS
Expand Down
5 changes: 3 additions & 2 deletions lib/App/PipeFilter/JsonSort.pm
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,11 @@ sub encode_output {

__END__
=pod
=head1 NAME
App::PipeFilter::JsonSort - a sort(1)-like filter that understands
JSON fields
App::PipeFilter::JsonSort - a sort(1)-like filter that understands JSON fields
=head1 SYNOPSIS
Expand Down
5 changes: 3 additions & 2 deletions lib/App/PipeFilter/JsonToYaml.pm
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ with qw(

__END__
=pod
=head1 NAME
App::PipeFilter::JsonToYaml - translate streams of JSON objects into
YAML
App::PipeFilter::JsonToYaml - translate streams of JSON objects into YAML
=head1 SYNOPSIS
Expand Down
2 changes: 2 additions & 0 deletions lib/App/PipeFilter/MysqlToJson.pm
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ sub decode_input {

__END__
=pod
=head1 NAME
App::PipeFilter::MysqlToJson - translate mysql batch output to JSON
Expand Down
5 changes: 3 additions & 2 deletions lib/App/PipeFilter/Role/Flags/Standard.pm
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ has verbose => (

__END__
=pod
=head1 NAME
App::PipeFilter::Role::Flags::Standard - provide attributes and getopt
parsing for standard pipeline filter flags
App::PipeFilter::Role::Flags::Standard - standard flag attributes and getopt
=head1 SYNOPSIS
Expand Down
2 changes: 2 additions & 0 deletions lib/App/PipeFilter/Role/Input/Json.pm
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ sub decode_input {

__END__
=pod
=head1 NAME
App::PipeFilter::Role::Input::Json - parse input as a stream of JSON records
Expand Down
5 changes: 3 additions & 2 deletions lib/App/PipeFilter/Role/Opener/GenericIO.pm
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ with qw(

__END__
=pod
=head1 NAME
App::PipeFilter::Role::Opener::GenericIO - generic methods to open
input and output filesj
App::PipeFilter::Role::Opener::GenericIO - generic methods to open input and output files
=head1 SYNOPSIS
Expand Down
5 changes: 3 additions & 2 deletions lib/App/PipeFilter/Role/Opener/GenericInput.pm
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ sub open_input {

__END__
=pod
=head1 NAME
App::PipeFilter::Role::Opener::GenericInput - a common method to open
input files
App::PipeFilter::Role::Opener::GenericInput - common method to open input files
=head1 SYNOPSIS
Expand Down
5 changes: 3 additions & 2 deletions lib/App/PipeFilter/Role/Opener/GenericOutput.pm
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ sub open_output {

__END__
=pod
=head1 NAME
App::PipeFilter::Role::Opener::GenericOutput - a generic method to
open output files
App::PipeFilter::Role::Opener::GenericOutput - a generic method to open output files
=head1 SYNOPSIS
Expand Down
5 changes: 3 additions & 2 deletions lib/App/PipeFilter/Role/Output/Json.pm
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ sub encode_output {

__END__
=pod
=head1 NAME
App::PipeFilter::Role::Output::Json - serialize output as one JSON
object per line
App::PipeFilter::Role::Output::Json - serialize output as one JSON object per line
=head1 SYNOPSIS
Expand Down
2 changes: 2 additions & 0 deletions lib/App/PipeFilter/Role/Output/Yaml.pm
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ sub encode_output {

__END__
=pod
=head1 NAME
App::PipeFilter::Role::Output::Yaml - serialize output as YAML
Expand Down
5 changes: 3 additions & 2 deletions lib/App/PipeFilter/Role/Reader/LineByLine.pm
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ sub read_input {

__END__
=pod
=head1 NAME
App::PipeFilter::Role::Reader::LineByLine - read input streams one
line at a time
App::PipeFilter::Role::Reader::LineByLine - read input streams one line at a time
=head1 SYNOPSIS
Expand Down
5 changes: 3 additions & 2 deletions lib/App/PipeFilter/Role/Reader/Sysread.pm
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ sub read_input {

__END__
=pod
=head1 NAME
App::PipeFilter::Role::Reader::Sysread - read input streams in large
chunks for speed
App::PipeFilter::Role::Reader::Sysread - read input streams in large chunks for speed
=head1 SYNOPSIS
Expand Down
2 changes: 2 additions & 0 deletions lib/App/PipeFilter/Role/Transform/None.pm
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ sub transform {

__END__
=pod
=head1 NAME
App::PipeFilter::Role::Transform::None - don't transform data at all
Expand Down

0 comments on commit 087d339

Please sign in to comment.