line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package WWW::Kickstarter::Data::Location; |
3
|
|
|
|
|
|
|
|
4
|
1
|
|
|
1
|
|
9
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
39
|
|
5
|
1
|
|
|
1
|
|
8
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
43
|
|
6
|
1
|
|
|
1
|
|
8
|
no autovivification; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
|
65
|
use WWW::Kickstarter::Data qw( ); |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
35
|
|
10
|
1
|
|
|
1
|
|
8
|
use WWW::Kickstarter::Error qw( my_croak ); |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
514
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
our @ISA = 'WWW::Kickstarter::Data'; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
|
16
|
0
|
|
|
0
|
1
|
|
sub id { $_[0]{id} } |
17
|
0
|
|
|
0
|
1
|
|
sub slug { $_[0]{slug} } |
18
|
0
|
|
|
0
|
1
|
|
sub type { $_[0]{type} } |
19
|
0
|
|
|
0
|
1
|
|
sub country { $_[0]{country} } |
20
|
0
|
|
|
0
|
1
|
|
sub state { $_[0]{state} } |
21
|
0
|
|
|
0
|
1
|
|
sub name { $_[0]{name} } |
22
|
0
|
|
|
0
|
1
|
|
sub full_name { $_[0]{displayable_name} } |
23
|
0
|
|
|
0
|
1
|
|
sub short_name { $_[0]{short_name} } |
24
|
0
|
|
|
0
|
1
|
|
sub longitude { $_[0]{longitude} } |
25
|
0
|
|
|
0
|
1
|
|
sub latitude { $_[0]{latitude} } |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
0
|
|
|
0
|
1
|
|
sub refetch { my $self = shift; return $self->ks->location($self->id, @_); } |
|
0
|
|
|
|
|
|
|
29
|
0
|
|
|
0
|
1
|
|
sub nearby_projects { my $self = shift; return $self->ks->projects_near_location($self->id, @_); } |
|
0
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1; |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
__END__ |