PRANG/Cookbook/Library.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 1 totaltotal 94.7% 18 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« PRANG/Cookbook.pm ↑ Summary PRANG/Cookbook/Book.pm »
1  
2 package PRANG::Cookbook::Library;
3 2 $PRANG::Cookbook::Library::VERSION = '0.21';
4 2 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 ▶use PRANG::Graph;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 2 ▶use PRANG::XMLSchema::Types;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 2 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 12 ▶sub root_element {'library'}
Subroutine root_element: called CC=1 SCAR=0.0
Pod undocumented
17 2 with 'PRANG::Cookbook';
18  
19 2 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
« PRANG/Cookbook.pm ↑ Summary PRANG/Cookbook/Book.pm »