line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package CGI::Deurl::XS; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
14856
|
use 5.008; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
30
|
|
4
|
1
|
|
|
1
|
|
4
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
26
|
|
5
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
6
|
|
|
1
|
|
|
|
|
20
|
|
6
|
1
|
|
|
1
|
|
3
|
use Carp; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
69
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
require Exporter; |
9
|
1
|
|
|
1
|
|
441
|
use AutoLoader; |
|
1
|
|
|
|
|
1120
|
|
|
1
|
|
|
|
|
4
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our @ISA = qw(Exporter); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
our @EXPORT_OK = qw/parse_query_string/; |
14
|
|
|
|
|
|
|
our @EXPORT = qw(); |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
our $VERSION = '0.08'; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub AUTOLOAD { |
19
|
|
|
|
|
|
|
# This AUTOLOAD is used to 'autoload' constants from the constant() |
20
|
|
|
|
|
|
|
# XS function. |
21
|
|
|
|
|
|
|
|
22
|
0
|
|
|
0
|
|
|
my $constname; |
23
|
0
|
|
|
|
|
|
our $AUTOLOAD; |
24
|
0
|
|
|
|
|
|
($constname = $AUTOLOAD) =~ s/.*:://; |
25
|
0
|
0
|
|
|
|
|
croak "&CGI::Deurl::XS::constant not defined" if $constname eq 'constant'; |
26
|
0
|
|
|
|
|
|
my ($error, $val) = constant($constname); |
27
|
0
|
0
|
|
|
|
|
if ($error) { croak $error; } |
|
0
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
{ |
29
|
1
|
|
|
1
|
|
128
|
no strict 'refs'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
78
|
|
|
0
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
# Fixed between 5.005_53 and 5.005_61 |
31
|
|
|
|
|
|
|
#XXX if ($] >= 5.00561) { |
32
|
|
|
|
|
|
|
#XXX *$AUTOLOAD = sub () { $val }; |
33
|
|
|
|
|
|
|
#XXX } |
34
|
|
|
|
|
|
|
#XXX else { |
35
|
0
|
|
|
0
|
|
|
*$AUTOLOAD = sub { $val }; |
|
0
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
#XXX } |
37
|
|
|
|
|
|
|
} |
38
|
0
|
|
|
|
|
|
goto &$AUTOLOAD; |
39
|
|
|
|
|
|
|
} |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
require XSLoader; |
42
|
|
|
|
|
|
|
XSLoader::load('CGI::Deurl::XS', $VERSION); |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
# Preloaded methods go here. |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
# Autoload methods go after =cut, and are processed by the autosplit program. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
1; |
49
|
|
|
|
|
|
|
__END__ |