line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package CGI::Deurl::XS; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
30880
|
use 5.008; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
47
|
|
4
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
39
|
|
5
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
7
|
|
|
1
|
|
|
|
|
32
|
|
6
|
1
|
|
|
1
|
|
5
|
use Carp; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
217
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
require Exporter; |
9
|
1
|
|
|
1
|
|
2734
|
use AutoLoader; |
|
1
|
|
|
|
|
3215
|
|
|
1
|
|
|
|
|
7
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our @ISA = qw(Exporter); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
our @EXPORT_OK = qw/parse_query_string/; |
14
|
|
|
|
|
|
|
our @EXPORT = qw(); |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
our $VERSION = '0.07'; |
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
|
|
477
|
no strict 'refs'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
241
|
|
|
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__ |