Simple/Type/Value/Scalar.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
new
2.0
name
2.0
BEGIN
2.0
CRAP 2.0
1 package Repository::Simple::Type::Value::Scalar;
2  
3 use strict;
4 use warnings;
5  
6 our $VERSION = '0.01';
7  
8 use base 'Repository::Simple::Type::Value';
9  
10 =head1 NAME
11  
12 Repository::Simple::Type::Value::Scalar - Simple "rs:scalar" value type
13  
14 =head1 SYNOPSIS
15  
16 my $value_type = Repository::Simple::Type::Value::Scalar->new;
17  
18 =head1 DESCRIPTION
19  
20 This represents the simplest of all value types. It only holds any scalar and does nothing to check or inflate or deflate a given value.
21  
22 =cut
23  
24 sub new {
25 return bless {}, __PACKAGE__;
26 }
27  
28 sub name {
29 return 'rs:scalar';
30 }
31  
32 =head1 AUTHOR
33  
34 Andrew Sterling Hanenkamp, E<lt>hanenkamp@cpan.orgE<gt>
35  
36 =head1 LICENSE AND COPYRIGHT
37  
38 Copyright 2006 Andrew Sterling Hanenkamp E<lt>hanenkamp@cpan.orgE<gt>. All
39 Rights Reserved.
40  
41 This module is free software; you can redistribute it and/or modify it under
42 the same terms as Perl itself. See L<perlartistic>.
43  
44 This program is distributed in the hope that it will be useful, but WITHOUT
45 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
46 FOR A PARTICULAR PURPOSE.
47  
48 =cut
49  
50 1