line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Data::Validate::URI; |
2
|
|
|
|
|
|
|
|
3
|
5
|
|
|
5
|
|
91880
|
use strict; |
|
5
|
|
|
|
|
11
|
|
|
5
|
|
|
|
|
162
|
|
4
|
5
|
|
|
5
|
|
26
|
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); |
|
5
|
|
|
|
|
9
|
|
|
5
|
|
|
|
|
465
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
require Exporter; |
7
|
5
|
|
|
5
|
|
4178
|
use AutoLoader 'AUTOLOAD'; |
|
5
|
|
|
|
|
7902
|
|
|
5
|
|
|
|
|
29
|
|
8
|
|
|
|
|
|
|
|
9
|
5
|
|
|
5
|
|
4044
|
use Data::Validate::Domain; |
|
5
|
|
|
|
|
80954
|
|
|
5
|
|
|
|
|
343
|
|
10
|
5
|
|
|
5
|
|
4949
|
use Data::Validate::IP; |
|
5
|
|
|
|
|
237206
|
|
|
5
|
|
|
|
|
1159
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
@ISA = qw(Exporter); |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
# no functions are exported by default. See EXPORT_OK |
17
|
|
|
|
|
|
|
@EXPORT = qw(); |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
@EXPORT_OK = qw( |
20
|
|
|
|
|
|
|
is_uri |
21
|
|
|
|
|
|
|
is_http_uri |
22
|
|
|
|
|
|
|
is_https_uri |
23
|
|
|
|
|
|
|
is_web_uri |
24
|
|
|
|
|
|
|
is_tel_uri |
25
|
|
|
|
|
|
|
); |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
%EXPORT_TAGS = (); |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
$VERSION = '0.07'; |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
# No preloads |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
1; |
35
|
|
|
|
|
|
|
__END__ |