blib/lib/TOML/XS/Document.pm untested

filter: Statementstmt 0.0% 0 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 8 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package TOML::XS::Document;
2  
3 use strict;
4 use warnings;
5  
6 =encoding utf-8
7  
8 =head1 NAME
9  
10 TOML::XS::Document - Object representation of a L<TOML|https://toml.io> document
11  
12 =head1 SYNOPSIS
13  
14 See L<TOML::XS>.
15  
16 =head1 DESCRIPTION
17  
18 Instances of this class represent a parse of a TOML document.
19  
20 This class is not directly instantiable.
21  
22 =head1 METHODS
23  
24 =head2 $hashref = I<OBJ>->to_struct()
25  
26 Returns a hash reference that represents the parsed TOML document.
27  
28 If the read of the TOML structure encounters a malformed data point
29 an exception is thrown. As of now that exception is a simple character string
30 that includes a L<JSON pointer|https://tools.ietf.org/html/rfc6901>
31 to the problematic data point.
32  
33 =cut
34  
35 1;