File Coverage

blib/lib/PRANG/Cookbook/Library.pm
Criterion Covered Total %
statement 4 6 66.6
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 6 8 75.0


line stmt bran cond sub pod time code
1              
2             package PRANG::Cookbook::Library;
3             $PRANG::Cookbook::Library::VERSION = '0.19';
4 1     1   1902 use Moose;
  1         2  
  1         6  
5 1     1   5635 use PRANG::Graph;
  0            
  0            
6             use PRANG::XMLSchema::Types;
7              
8             has_element 'book' =>
9             xml_nodeName => 'book',
10             is => 'rw',
11             isa => 'ArrayRef[PRANG::Cookbook::Book]',
12             xml_required => 1,
13             required => 1,
14             ;
15              
16             sub root_element {'library'}
17             with 'PRANG::Cookbook';
18              
19             1;
20              
21             =pod
22              
23             =head1 NAME
24              
25             PRANG::Cookbook::Library - Basic PRANG Features
26              
27             =head1 DESCRIPTION
28              
29             This recipe series gives you a good overview of some of advanced of PRANG's
30             capabilites. Showing how to do lists of nodes and then lists of any of a number
31             of different nodes.
32              
33             =head1 CONCLUSION
34              
35             ...
36              
37             =head1 AUTHOR
38              
39             Andrew Chilton, E<lt>andy@catalyst dot net dot nz<gt>
40              
41             =head1 COPYRIGHT & LICENSE
42              
43             This software development is sponsored and directed by New Zealand Registry
44             Services, http://www.nzrs.net.nz/
45              
46             The work is being carried out by Catalyst IT, http://www.catalyst.net.nz/
47              
48             Copyright (c) 2009, NZ Registry Services. All Rights Reserved. This software
49             may be used under the terms of the Artistic License 2.0. Note that this
50             license is compatible with both the GNU GPL and Artistic licenses. A copy of
51             this license is supplied with the distribution in the file COPYING.txt.
52              
53             =cut