[libcatmandu-perl] 02/30: Fixing old Perl-like syntax in POD
Jonas Smedegaard
dr at jones.dk
Tue Dec 19 11:10:12 UTC 2017
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag debian/1.0700-1
in repository libcatmandu-perl.
commit cc181f48773b56a45f67bb7a8f9f77efc8782608
Author: Patrick Hochstenbach <patrick.hochstenbach at ugent.be>
Date: Thu Oct 5 13:55:18 2017 +0200
Fixing old Perl-like syntax in POD
---
Build.PL | 2 +-
lib/Catmandu/Fix/add_to_exporter.pm | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/Build.PL b/Build.PL
index 724c202..b345212 100644
--- a/Build.PL
+++ b/Build.PL
@@ -15,7 +15,7 @@ my %module_build_args = (
},
"dist_abstract" => "a data toolkit",
"dist_author" => [
- "Nicolas Steenlant, C<< <nicolas.steenlant at ugent.be> >>"
+ "Nicolas Steenlant <nicolas.steenlant\@ugent.be>"
],
"dist_name" => "Catmandu",
"dist_version" => "1.0603",
diff --git a/lib/Catmandu/Fix/add_to_exporter.pm b/lib/Catmandu/Fix/add_to_exporter.pm
index 0cf1c70..17dbfbf 100644
--- a/lib/Catmandu/Fix/add_to_exporter.pm
+++ b/lib/Catmandu/Fix/add_to_exporter.pm
@@ -42,15 +42,15 @@ __END__
Catmandu::Fix::add_to_exporter - Export a record as side effect
=head1 SYNOPSIS
-
+
# Export the data field values to a CSV file
- add_to_exporter(data,CSV,file => /tmp/test.txt, header => 1)
+ add_to_exporter(data,CSV, file:/tmp/test.txt, header: 1)
# Export the complete record into a JSON file
- add_to_exporter(data,JSON,file => /tmp/test.json, pretty => 1)
+ add_to_exporter(data,JSON, file:/tmp/test.json, pretty:1)
# In general, export a PATH to an EXPORTER with one ore more OPT0s
- add_to_exporter(PATH,EXPORTER, OPT1 => ... , OPT2 => ... , OPT3 => ... , ...)
+ add_to_exporter(PATH,EXPORTER, OPT1:... , OPT2:... , OPT3:... , ...)
# Use the add_to_exporter to explode an ARRAY into many records
# E.g.
@@ -67,7 +67,7 @@ Catmandu::Fix::add_to_exporter - Export a record as side effect
end
# You can get an output with 3 records using the command line function
catmandu convert JSON to Null --fix exporter.fix < book.json
-
+
=head1 SEE ALSO
L<Catmandu::Fix> , L<Catmandu::Exporter>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcatmandu-perl.git
More information about the Pkg-perl-cvs-commits
mailing list