| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Alien::GHTTP; |
|
2
|
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
402
|
use strict; |
|
|
1
|
|
|
|
|
1
|
|
|
|
1
|
|
|
|
|
25
|
|
|
4
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
|
1
|
|
|
|
|
1
|
|
|
|
1
|
|
|
|
|
41
|
|
|
5
|
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '0.003'; |
|
7
|
|
|
|
|
|
|
$VERSION = eval $VERSION; |
|
8
|
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
|
448
|
use parent 'Alien::Base'; |
|
|
1
|
|
|
|
|
260
|
|
|
|
1
|
|
|
|
|
4
|
|
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
1; |
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 NAME |
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
Alien::GHTTP - (DEPRECATED) Easy installation of the GNOME libghttp library |
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
# Build.PL |
|
20
|
|
|
|
|
|
|
use Alien::GHTTP; |
|
21
|
|
|
|
|
|
|
use Module::Build 0.28; # need at least 0.28 |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
my $builder = Module::Build->new( |
|
24
|
|
|
|
|
|
|
configure_requires => { |
|
25
|
|
|
|
|
|
|
'Alien::GHTTP' => '0.001', |
|
26
|
|
|
|
|
|
|
}, |
|
27
|
|
|
|
|
|
|
... |
|
28
|
|
|
|
|
|
|
extra_compiler_flags => Alien::GHTTP->cflags, |
|
29
|
|
|
|
|
|
|
extra_linker_flags => Alien::GHTTP->libs, |
|
30
|
|
|
|
|
|
|
... |
|
31
|
|
|
|
|
|
|
); |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
$builder->create_build_script; |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
# lib/MyLibrary/GHTTP.pm |
|
37
|
|
|
|
|
|
|
package MyLibrary::GHTTP; |
|
38
|
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
use Alien::GHTTP; # dynaload libghttp |
|
40
|
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
... |
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
44
|
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
Provides the GNOME libghttp |
|
46
|
|
|
|
|
|
|
L (GHTTP) for use by Perl modules, installing it if necessary. |
|
47
|
|
|
|
|
|
|
This module relies heavily on the L system to do so. |
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Note that the B for this particular library was way, way back in 2002. |
|
50
|
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
You have been warned. Please use some other library. |
|
52
|
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head1 SEE ALSO |
|
54
|
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=over |
|
56
|
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=item * |
|
58
|
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
L |
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=back |
|
62
|
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head1 SOURCE REPOSITORY |
|
64
|
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
L |
|
66
|
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head1 AUTHOR |
|
68
|
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
Chase Whitener, Ecapoeirab@cpan.orgE |
|
70
|
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
|
72
|
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
Copyright (C) 2016 by Chase Whitener |
|
74
|
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or modify |
|
76
|
|
|
|
|
|
|
it under the same terms as Perl itself. |