[libcatmandu-marc-perl] 91/208: Fixing POD
Jonas Smedegaard
dr at jones.dk
Sat Oct 28 03:42:39 UTC 2017
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag upstream/1.19
in repository libcatmandu-marc-perl.
commit ed12aad68a4875ec91272ee21b76f624808b297a
Author: Patrick Hochstenbach <patrick.hochstenbach at ugent.be>
Date: Mon Jan 30 16:39:36 2017 +0100
Fixing POD
---
lib/Catmandu/Exporter/MARC.pm | 8 ++++----
lib/Catmandu/Importer/MARC.pm | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/lib/Catmandu/Exporter/MARC.pm b/lib/Catmandu/Exporter/MARC.pm
index 1ff43e8..fdb5f22 100644
--- a/lib/Catmandu/Exporter/MARC.pm
+++ b/lib/Catmandu/Exporter/MARC.pm
@@ -43,10 +43,10 @@ Catmandu::Exporter::MARC - Exporter for MARC records
$ catmandu convert MARC --type ISO to MARC --type XML < /foo/bar.mrc
# From Perl
- use Catmandu 'all';
+ use Catmandu;
- my $importer = importer('MARC', file => "/foo/bar.mrc" , type => 'ISO');
- my $exporter = exporter('MARC', file => "marc.xml", type => "XML" );
+ my $importer = Catmandu->importer('MARC', file => "/foo/bar.mrc" , type => 'ISO');
+ my $exporter = Catmandu->exporter('MARC', file => "marc.xml", type => "XML" );
$exporter->add($importer);
$exporter->commit;
@@ -90,7 +90,7 @@ ALEPHSEQ: L<Catmandu::Exporter::MARC::ALEPHSEQ>
E.g.
catmandu convert MARC --type XML to MARC --type ISO < marc.xml > marc.iso
-
+
=head1 SEE ALSO
L<Catmandu::Importer::MARC>
diff --git a/lib/Catmandu/Importer/MARC.pm b/lib/Catmandu/Importer/MARC.pm
index 4b9d401..d573f0d 100644
--- a/lib/Catmandu/Importer/MARC.pm
+++ b/lib/Catmandu/Importer/MARC.pm
@@ -44,7 +44,7 @@ Catmandu::Importer::MARC - Package that imports MARC data
=head1 SYNOPSIS
- use Catmandu -all;
+ use Catmandu;
# import records from file
my $importer = Catmandu->importer('MARC',file => '/foo/bar.mrc');
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcatmandu-marc-perl.git
More information about the Pkg-perl-cvs-commits
mailing list