File Coverage

blib/lib/PRANG/Cookbook/Library.pm
Criterion Covered Total %
statement 10 10 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod 0 1 0.0
total 14 15 93.3


line stmt bran cond sub pod time code
1              
2             package PRANG::Cookbook::Library;
3             $PRANG::Cookbook::Library::VERSION = '0.21';
4 2     2   3547 use Moose;
  2         5  
  2         16  
5 2     2   14191 use PRANG::Graph;
  2         5  
  2         14  
6 2     2   7633 use PRANG::XMLSchema::Types;
  2         7  
  2         196  
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 4     4 0 31 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