line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package WWW::Kickstarter::Data::Location; |
3
|
|
|
|
|
|
|
|
4
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
30
|
|
5
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
26
|
|
6
|
1
|
|
|
1
|
|
5
|
no autovivification; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
|
45
|
use WWW::Kickstarter::Data qw( ); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
17
|
|
10
|
1
|
|
|
1
|
|
5
|
use WWW::Kickstarter::Error qw( my_croak ); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
394
|
|
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__ |