line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Catmandu::CA; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
1219
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
25
|
|
4
|
1
|
|
|
1
|
|
3
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
21
|
|
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
3
|
use Catmandu::Sane; |
|
1
|
|
|
|
|
0
|
|
|
1
|
|
|
|
|
5
|
|
7
|
1
|
|
|
1
|
|
127
|
use Moo; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
5
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
our $VERSION = '0.06'; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
1; |
12
|
|
|
|
|
|
|
__END__ |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=encoding utf-8 |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=head1 NAME |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
Catmandu::CA - Catmandu interface to L<CollectiveAccess|http://collectiveaccess.org/> |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 SYNOPSIS |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
# From the command line |
23
|
|
|
|
|
|
|
catmandu export CA to YAML --id 1234 --username demo --password demo --url http://demo.collectiveaccess.org |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
# From a Catmandu Fix |
26
|
|
|
|
|
|
|
lookup_in_store( |
27
|
|
|
|
|
|
|
object_id, |
28
|
|
|
|
|
|
|
CA, |
29
|
|
|
|
|
|
|
url: http://demo.collectiveaccess.org, |
30
|
|
|
|
|
|
|
username: demo, |
31
|
|
|
|
|
|
|
password: demo |
32
|
|
|
|
|
|
|
) |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 MODULES |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=over |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=item * L<Catmandu::Store::CA> |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=item * L<Catmandu::Store::VKC> |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=item * L<Catmandu::CA::API> |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=back |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 AUTHOR |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
Pieter De Praetere E<lt>pieter at packed.beE<gt> |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 COPYRIGHT |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
Copyright 2017- PACKED vzw |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 LICENSE |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or modify |
57
|
|
|
|
|
|
|
it under the same terms as Perl itself. |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 SEE ALSO |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
L<Catmandu> |
62
|
|
|
|
|
|
|
L<Catmandu::Store::CA> |
63
|
|
|
|
|
|
|
L<Catmandu::Store::VKC> |
64
|
|
|
|
|
|
|
L<Catmandu::CA::API> |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=cut |