line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
4
|
|
|
4
|
|
1479
|
use strict; |
|
4
|
|
|
|
|
6
|
|
|
4
|
|
|
|
|
107
|
|
2
|
4
|
|
|
4
|
|
21
|
use warnings; |
|
4
|
|
|
|
|
6
|
|
|
4
|
|
|
|
|
474
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package Footprintless::Resource; |
5
|
|
|
|
|
|
|
$Footprintless::Resource::VERSION = '1.28'; |
6
|
|
|
|
|
|
|
# ABSTRACT: A resource provided by a provider |
7
|
|
|
|
|
|
|
# PODNAME: Footprintless::Resource |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub new { |
10
|
22
|
|
|
22
|
1
|
116
|
return bless( {}, shift )->_init(@_); |
11
|
|
|
|
|
|
|
} |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub _init { |
14
|
22
|
|
|
22
|
|
229
|
my ( $self, $url ) = @_; |
15
|
|
|
|
|
|
|
|
16
|
22
|
|
|
|
|
57
|
$self->{url} = $url; |
17
|
|
|
|
|
|
|
|
18
|
22
|
|
|
|
|
48
|
return $self; |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
sub get_url { |
22
|
10
|
|
|
10
|
1
|
73
|
return $_[0]->{url}; |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
__END__ |