Track.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 13 / 13 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« TrackListings.pm ↑ Summary
1 package WWW::BBC::Track;
2  
3 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 # ABSTRACT: An object repesenting a track in a BBC radio programme
7 1 our $VERSION = '0.01'; # VERSION
8  
9 1 has 'artist' => (
10 is => 'ro',
11 isa => 'Str',
12 );
13  
14 1 has 'title' => (
15 is => 'ro',
16 isa => 'Str',
17 );
18  
19 1 __PACKAGE__->meta->make_immutable;
20  
21 1 1;
22  
23  
24 =pod
25  
26 =head1 NAME
27  
28 WWW::BBC::Track - An object repesenting a track in a BBC radio programme
29  
30 =head1 VERSION
31  
32 version 0.01
33  
34 =head1 SYNOPSIS
35  
36 my $track = WWW::BBC::Track->new({ artist => 'Bonobo', title => 'Black Sands' })
37  
38 =head1 METHODS
39  
40 =head2 new
41  
42 Constructor for objects of this class.
43  
44 =head1 ATTRIBUTES
45  
46 =head2 artist
47  
48 =head2 title
49  
50 =head1 AUTHOR
51  
52 Adam Taylor <ajct@cpan.org>
53  
54 =head1 COPYRIGHT AND LICENSE
55  
56 This software is copyright (c) 2013 by Adam Taylor.
57  
58 This is free software; you can redistribute it and/or modify it under
59 the same terms as the Perl 5 programming language system itself.
60  
61 =cut
62  
63  
64 __END__
« TrackListings.pm ↑ Summary