Fix/Inline/marc_remove.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod 0.0% 0 / 1 totaltotal 92.8% 13 / 14 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
marc_remove
1.0
CRAP 1.0
« Fix/Inline/marc_add.pm ↑ Summary Fix/Inline/marc_set.pm »
1 package Catmandu::Fix::Inline::marc_remove;
2  
3 2 ▶use Catmandu::MARC;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 require Exporter;
5  
6 2 @ISA = qw(Exporter);
7 2 @EXPORT_OK = qw(marc_remove);
8 2 %EXPORT_TAGS = (all => [qw(marc_remove)]);
9  
10 2 our $VERSION = '1.33';
11  
12 1 ▶sub marc_remove {
Subroutine marc_remove: called CC=1 SCAR=0.0
Pod undocumented
13 1 my ($data,$marc_path) = @_;
14 1 return Catmandu::MARC->instance->marc_remove($data,$marc_path);
15 }
16  
17 =head1 NAME
18  
19 Catmandu::Fix::Inline::marc_remove - remove marc fields (DEPRECATED)
20  
21 =head1 SYNOPSIS
22  
23 use Catmandu::Fix::Inline::marc_remove qw(:all);
24  
25 my $data = marc_remove($data,'CAT');
26  
27 =head1 DEPRECATED
28  
29 This module is deprecated. Use the inline functionality of L<Catmandu::Fix::marc_remove> instead.
30  
31 =head1 SEE ALSO
32  
33 L<Catmandu::Fix::marc_remove>
34  
35 =cut
36  
37 2 1;
« Fix/Inline/marc_add.pm ↑ Summary Fix/Inline/marc_set.pm »