line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# $Id: Result.pm 1 2006-03-14 18:30:19Z daisuke $ |
2
|
|
|
|
|
|
|
# |
3
|
|
|
|
|
|
|
# Copyright (c) 2006 Daisuke Maki |
4
|
|
|
|
|
|
|
# All rights reserved. |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
package WWW::JASRAC::Result; |
7
|
1
|
|
|
1
|
|
5
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
132
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub new |
10
|
|
|
|
|
|
|
{ |
11
|
0
|
|
|
0
|
1
|
|
my $class = shift; |
12
|
0
|
|
|
|
|
|
my %args = @_; |
13
|
0
|
|
|
|
|
|
my $self = bless { |
14
|
|
|
|
|
|
|
title => $args{title}, |
15
|
|
|
|
|
|
|
link => $args{link}, |
16
|
|
|
|
|
|
|
rights => $args{rights}, |
17
|
|
|
|
|
|
|
artists => $args{artists}, |
18
|
|
|
|
|
|
|
}, $class; |
19
|
|
|
|
|
|
|
|
20
|
0
|
|
|
|
|
|
return $self; |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
0
|
|
|
0
|
1
|
|
sub title { shift->{title} } |
24
|
0
|
0
|
|
0
|
1
|
|
sub rights { my $r = shift->{rights}; wantarray ? @$r : $r } |
|
0
|
|
|
|
|
|
|
25
|
0
|
0
|
|
0
|
1
|
|
sub artists { my $r = shift->{artists}; wantarray ? @$r : $r } |
|
0
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
1; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
__END__ |