line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package AsposeOcrCloud::Configuration; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
23
|
|
4
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
18
|
|
5
|
1
|
|
|
1
|
|
4
|
use utf8; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
20
|
use Log::Any qw($log); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
18
|
|
8
|
1
|
|
|
1
|
|
160
|
use Carp; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
50
|
|
9
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
6
|
use constant VERSION => '1.03'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
146
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
# class/static variables |
13
|
|
|
|
|
|
|
our $api_client; |
14
|
|
|
|
|
|
|
our $http_timeout = 180; |
15
|
|
|
|
|
|
|
our $http_user_agent = 'Aspose-Cloud-SDK-Perl-Agent'; |
16
|
|
|
|
|
|
|
our $debug = 0; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
# authenticaiton setting |
19
|
|
|
|
|
|
|
our $app_sid; |
20
|
|
|
|
|
|
|
our $api_key; |
21
|
|
|
|
|
|
|
our $api_server = 'http://api.aspose.cloud/v1.1'; |
22
|
|
|
|
|
|
|
#our $api_server = 'http://localhost:8080/v1.1'; |
23
|
|
|
|
|
|
|
1; |