MapFeatures/Feature/Value/Userdef.pm

filter: Statementstmt 87.5% 14 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 0.0% 0 / 1 totaltotal 81.8% 18 / 22 CC 1 SCAR 1.8
CC
1
Cov
88%
stringify
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« MapFeatures/Feature/Value/Time.pm ↑ Summary MapFeatures.pm »
1 package Geo::OSM::MapFeatures::Feature::Value::Userdef;
2  
3 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 ▶use base qw(Geo::OSM::MapFeatures::Feature::Value);
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 2 ▶use overload '""' => \&stringify;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 =head1 NAME
11  
12 Geo::OSM::MapFeatures::Feature::Value::Userdef - User defined value type
13  
14 =head1 VERSION
15  
16 Version 0.01
17  
18 =cut
19  
20 2 our $VERSION = '0.01';
21  
22  
23 =head1 SYNOPSIS
24  
25 User defined means the feature value can be anything the user wants.
26  
27 =head1 FUNCTIONS
28  
29 =cut
30  
31 0 ▶sub stringify {
Subroutine stringify: not called CC=1 SCAR=6.9
Pod undocumented
32 0 my $self = shift;
33  
34 0 return "User defined";
35 }
36  
37 =head1 AUTHOR
38  
39 Knut Arne Bjørndal, C<< <bob at cakebox.net> >>
40  
41 =head1 BUGS
42  
43 Please report any bugs or feature requests to C<bug-geo-osm-mapfeatures-feature-value-userdef at rt.cpan.org>, or through
44 the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Geo-OSM-MapFeatures>. I will be notified, and then you'll
45 automatically be notified of progress on your bug as I make changes.
46  
47  
48  
49  
50 =head1 SUPPORT
51  
52 You can find documentation for this module with the perldoc command.
53  
54 perldoc Geo::OSM::MapFeatures
55  
56  
57 You can also look for information at:
58  
59 =over 4
60  
61 =item * RT: CPAN's request tracker
62  
63 L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Geo-OSM-MapFeatures>
64  
65 =item * AnnoCPAN: Annotated CPAN documentation
66  
67 L<http://annocpan.org/dist/Geo-OSM-MapFeatures>
68  
69 =item * CPAN Ratings
70  
71 L<http://cpanratings.perl.org/d/Geo-OSM-MapFeatures>
72  
73 =item * Search CPAN
74  
75 L<http://search.cpan.org/dist/Geo-OSM-MapFeatures>
76  
77 =back
78  
79  
80 =head1 ACKNOWLEDGEMENTS
81  
82  
83 =head1 COPYRIGHT & LICENSE
84  
85 Copyright 2008 Knut Arne Bjørndal, all rights reserved.
86  
87 This program is free software; you can redistribute it and/or modify it
88 under the same terms as Perl itself.
89  
90  
91 =cut
92  
93 2 1; # End of Geo::OSM::MapFeatures::Feature::Value::Userdef
« MapFeatures/Feature/Value/Time.pm ↑ Summary MapFeatures.pm »