line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::Jaiku; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
$VERSION ="0.0501"; |
4
|
5
|
|
|
5
|
|
120321
|
use warnings; |
|
5
|
|
|
|
|
12
|
|
|
5
|
|
|
|
|
152
|
|
5
|
5
|
|
|
5
|
|
26
|
use strict; |
|
5
|
|
|
|
|
7
|
|
|
5
|
|
|
|
|
154
|
|
6
|
|
|
|
|
|
|
|
7
|
5
|
|
|
5
|
|
5501
|
use LWP::UserAgent; |
|
5
|
|
|
|
|
307718
|
|
|
5
|
|
|
|
|
179
|
|
8
|
5
|
|
|
5
|
|
5215
|
use JSON::Any; |
|
5
|
|
|
|
|
136163
|
|
|
5
|
|
|
|
|
33
|
|
9
|
5
|
|
|
5
|
|
39586
|
use HTML::Entities; |
|
5
|
|
|
|
|
31826
|
|
|
5
|
|
|
|
|
469
|
|
10
|
5
|
|
|
5
|
|
4692
|
use Params::Validate qw/validate SCALAR ARRAYREF BOOLEAN/; |
|
5
|
|
|
|
|
17774
|
|
|
5
|
|
|
|
|
10835
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub new { |
13
|
1
|
|
|
1
|
1
|
18
|
my $class = shift; |
14
|
1
|
|
|
|
|
6
|
my %conf = @_; |
15
|
|
|
|
|
|
|
|
16
|
1
|
|
|
|
|
13
|
$conf{ua} = LWP::UserAgent->new(); |
17
|
1
|
|
|
|
|
3459
|
$conf{ua}->env_proxy(); |
18
|
1
|
50
|
|
|
|
17335
|
$conf{ua}->timeout($conf{timeout}) if ($conf{timeout}); |
19
|
1
|
|
|
|
|
4
|
delete($conf{timeout}); |
20
|
|
|
|
|
|
|
|
21
|
1
|
|
50
|
|
|
10
|
$conf{username} ||= ''; |
22
|
1
|
|
50
|
|
|
10
|
$conf{userkey} ||= ''; |
23
|
|
|
|
|
|
|
|
24
|
1
|
|
|
|
|
11
|
return bless {%conf}, $class; |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
sub username { |
29
|
1
|
|
|
1
|
1
|
2
|
my $self = shift; |
30
|
1
|
|
|
|
|
2
|
my $username = shift; |
31
|
1
|
50
|
|
|
|
5
|
if ($username){ |
32
|
0
|
|
|
|
|
0
|
$self->{username} = $username; |
33
|
|
|
|
|
|
|
} |
34
|
1
|
|
|
|
|
5
|
return $self->{username}; |
35
|
|
|
|
|
|
|
} |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
sub userkey { |
38
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
39
|
0
|
|
|
|
|
0
|
my $userkey = shift; |
40
|
0
|
0
|
|
|
|
0
|
if ($userkey){ |
41
|
0
|
|
|
|
|
0
|
$self->{userkey} = $userkey; |
42
|
|
|
|
|
|
|
} |
43
|
0
|
|
|
|
|
0
|
return $self->{userkey}; |
44
|
|
|
|
|
|
|
} |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
sub auth { |
47
|
0
|
|
|
0
|
0
|
0
|
my $self = shift; |
48
|
0
|
0
|
0
|
|
|
0
|
if ($self->username() && $self->userkey()){ |
49
|
|
|
|
|
|
|
return { |
50
|
0
|
|
|
|
|
0
|
user => $self->username, |
51
|
|
|
|
|
|
|
personal_key => $self->userkey, |
52
|
|
|
|
|
|
|
} |
53
|
|
|
|
|
|
|
} |
54
|
0
|
|
|
|
|
0
|
return {}; |
55
|
|
|
|
|
|
|
} |
56
|
|
|
|
|
|
|
sub auth_query { |
57
|
1
|
|
|
1
|
0
|
2
|
my $self = shift; |
58
|
1
|
50
|
33
|
|
|
4
|
if ($self->username && $self->userkey){ |
59
|
0
|
|
|
|
|
0
|
return sprintf('?user=%s&personal_key=%s', |
60
|
|
|
|
|
|
|
$self->username, |
61
|
|
|
|
|
|
|
$self->userkey, |
62
|
|
|
|
|
|
|
) |
63
|
|
|
|
|
|
|
} |
64
|
1
|
|
|
|
|
8
|
return ''; |
65
|
|
|
|
|
|
|
} |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
sub getMyFeed { |
69
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
70
|
0
|
|
|
|
|
0
|
return $self->getFeed( user => $self->username ); |
71
|
|
|
|
|
|
|
} |
72
|
|
|
|
|
|
|
sub getUserFeed { |
73
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
74
|
0
|
|
|
|
|
0
|
my %arg = @_; |
75
|
0
|
|
0
|
|
|
0
|
return $self->getFeed( user => $arg{user} || $self->username ); |
76
|
|
|
|
|
|
|
} |
77
|
|
|
|
|
|
|
sub getFeed { |
78
|
1
|
|
|
1
|
1
|
7
|
my $self = shift; |
79
|
1
|
|
|
|
|
4
|
my %arg = @_; |
80
|
|
|
|
|
|
|
|
81
|
1
|
50
|
33
|
|
|
5
|
return undef if $arg{user} && ! $self->auth; |
82
|
|
|
|
|
|
|
|
83
|
1
|
50
|
|
|
|
15
|
my $req = $self->{ua}->get( |
84
|
|
|
|
|
|
|
'http://'.(($arg{user}) ? "$arg{user}." : '').'jaiku.com/feed/json'. |
85
|
|
|
|
|
|
|
$self->auth_query, |
86
|
|
|
|
|
|
|
); |
87
|
1
|
50
|
|
|
|
314960
|
return ($req->is_success) ? HashInflator->new( JSON::Any->jsonToObj($req->content) ) : undef; |
88
|
|
|
|
|
|
|
} |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
sub getContactsFeed { |
91
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
92
|
0
|
|
|
|
|
|
my %arg = @_; |
93
|
|
|
|
|
|
|
|
94
|
0
|
0
|
0
|
|
|
|
return undef if $arg{user} && ! $self->auth; |
95
|
|
|
|
|
|
|
|
96
|
0
|
|
|
|
|
|
my $req = $self->{ua}->get( |
97
|
|
|
|
|
|
|
'http://'.$self->username.'.jaiku.com/contacts/feed/json'. |
98
|
|
|
|
|
|
|
$self->auth_query, |
99
|
|
|
|
|
|
|
); |
100
|
0
|
0
|
|
|
|
|
return ($req->is_success) ? HashInflator->new( JSON::Any->jsonToObj($req->content) ) : undef; |
101
|
|
|
|
|
|
|
} |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
sub getMyPresence { |
104
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
105
|
0
|
|
|
|
|
|
return $self->getUserPresence( user => $self->username ); |
106
|
|
|
|
|
|
|
} |
107
|
|
|
|
|
|
|
sub getUserPresence { |
108
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
109
|
0
|
|
|
|
|
|
my %arg = @_; |
110
|
|
|
|
|
|
|
|
111
|
0
|
|
0
|
|
|
|
$arg{user} ||= $self->username; |
112
|
|
|
|
|
|
|
|
113
|
0
|
|
|
|
|
|
my $req = $self->{ua}->get( |
114
|
|
|
|
|
|
|
'http://'.$arg{user}.'.jaiku.com/presence/last/json'. |
115
|
|
|
|
|
|
|
$self->auth_query, |
116
|
|
|
|
|
|
|
); |
117
|
0
|
0
|
|
|
|
|
if ($req->is_success){ |
118
|
0
|
|
|
|
|
|
my $rv = HashInflator->new( JSON::Any->jsonToObj($req->content) ); |
119
|
|
|
|
|
|
|
#decode_entities( $rv->{line} ); |
120
|
0
|
|
|
|
|
|
return $rv; |
121
|
|
|
|
|
|
|
} |
122
|
0
|
|
|
|
|
|
return undef; |
123
|
|
|
|
|
|
|
} |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
sub getMyInfo { |
126
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
127
|
0
|
|
|
|
|
|
return $self->getUserInfo( user => $self->username ); |
128
|
|
|
|
|
|
|
} |
129
|
|
|
|
|
|
|
sub getUserInfo { |
130
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
131
|
0
|
|
|
|
|
|
my %arg = @_; |
132
|
|
|
|
|
|
|
|
133
|
0
|
|
0
|
|
|
|
$arg{user} ||= $self->username; |
134
|
|
|
|
|
|
|
|
135
|
0
|
|
|
|
|
|
my $req = $self->{ua}->get( |
136
|
|
|
|
|
|
|
'http://'.$arg{user}.'.jaiku.com/json'. |
137
|
|
|
|
|
|
|
$self->auth_query, |
138
|
|
|
|
|
|
|
); |
139
|
0
|
0
|
|
|
|
|
if ($req->is_success){ |
140
|
0
|
|
|
|
|
|
my $content = $req->content; |
141
|
0
|
|
|
|
|
|
$content =~ s/^.*?(\{.+\}).*?$/$1/s; |
142
|
0
|
|
|
|
|
|
return HashInflator->new( JSON::Any->jsonToObj($content) ); |
143
|
|
|
|
|
|
|
} |
144
|
0
|
|
|
|
|
|
return undef; |
145
|
|
|
|
|
|
|
} |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
sub getChannelFeed { |
148
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
149
|
0
|
|
|
|
|
|
my %arg = @_; |
150
|
|
|
|
|
|
|
|
151
|
0
|
0
|
|
|
|
|
return undef unless $arg{channel}; |
152
|
|
|
|
|
|
|
|
153
|
0
|
|
|
|
|
|
$arg{channel} =~ s/^#//; |
154
|
|
|
|
|
|
|
|
155
|
0
|
|
|
|
|
|
my $req = $self->{ua}->get( |
156
|
|
|
|
|
|
|
'http://jaiku.com/channel/'.$arg{channel}.'/feed/json'. |
157
|
|
|
|
|
|
|
$self->auth_query, |
158
|
|
|
|
|
|
|
); |
159
|
0
|
0
|
|
|
|
|
return ($req->is_success) ? HashInflator->new( JSON::Any->jsonToObj($req->content) ) : undef; |
160
|
|
|
|
|
|
|
} |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
sub setPresence { |
164
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
165
|
|
|
|
|
|
|
|
166
|
0
|
|
|
|
|
|
my %arg = validate( @_, { |
167
|
|
|
|
|
|
|
icon => { |
168
|
|
|
|
|
|
|
type => SCALAR, |
169
|
|
|
|
|
|
|
optional => 1, |
170
|
|
|
|
|
|
|
}, |
171
|
|
|
|
|
|
|
message => { |
172
|
|
|
|
|
|
|
type => SCALAR, |
173
|
|
|
|
|
|
|
optional => 1, |
174
|
|
|
|
|
|
|
}, |
175
|
|
|
|
|
|
|
location => { |
176
|
|
|
|
|
|
|
type => SCALAR | ARRAYREF, |
177
|
|
|
|
|
|
|
optional => 1, |
178
|
|
|
|
|
|
|
}, |
179
|
|
|
|
|
|
|
generated => { |
180
|
|
|
|
|
|
|
type => BOOLEAN, |
181
|
|
|
|
|
|
|
optional => 1, |
182
|
|
|
|
|
|
|
}, |
183
|
|
|
|
|
|
|
}); |
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
# Now turn them into something interesting |
186
|
0
|
0
|
0
|
|
|
|
$arg{icon} =~ s/(\D+)/$Net::Jaiku::iconByName{$1}/ |
187
|
|
|
|
|
|
|
if exists $arg{icon} && $arg{icon} =~ /\D/; |
188
|
0
|
0
|
0
|
|
|
|
$arg{location} = join(', ', @{ $arg{location} }[0,2] ) |
|
0
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
if exists $arg{location} && ref $arg{location} eq 'ARRAY'; |
190
|
0
|
0
|
|
|
|
|
$arg{generated} = $arg{generated} ? 1 : 0 |
|
|
0
|
|
|
|
|
|
191
|
|
|
|
|
|
|
if exists $arg{generated}; |
192
|
|
|
|
|
|
|
|
193
|
0
|
|
|
|
|
|
my $req = $self->{ua}->post( |
194
|
|
|
|
|
|
|
'http://api.jaiku.com/json', |
195
|
|
|
|
|
|
|
{ |
196
|
|
|
|
|
|
|
user => $self->username, |
197
|
|
|
|
|
|
|
personal_key => $self->userkey, |
198
|
|
|
|
|
|
|
method => 'presence.send', |
199
|
|
|
|
|
|
|
%arg |
200
|
|
|
|
|
|
|
} |
201
|
|
|
|
|
|
|
); |
202
|
0
|
0
|
|
|
|
|
if ($req->is_success) { |
203
|
0
|
|
|
|
|
|
my $rv = JSON::Any->jsonToObj($req->content); |
204
|
0
|
|
|
|
|
|
return lc($rv->{status}) eq 'ok'; |
205
|
|
|
|
|
|
|
} |
206
|
0
|
|
|
|
|
|
return undef; |
207
|
|
|
|
|
|
|
} |
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
# Class methods |
210
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
# DEPRECATED: Don't use it! |
212
|
|
|
|
|
|
|
our %JAIKU_ICONS = ( |
213
|
|
|
|
|
|
|
# Original names |
214
|
|
|
|
|
|
|
beer => 322, coffee => 319, computing => 329, eat => 341, home => 392, hurry => 399, morning => 400, sleep => 363, song => 367, toaster => 377, airplain => 316, bike => 388, bus => 317, car => 401, luggage => 373, metro => 372, taxi => 375, train => 378, tram => 304, walk => 325, theatre => 395, happy => 393, love => 347, uzi => 308, snorkeling => 364, bomb => 310, straitjacket => 371, pils => 389, grumpy => 318, megaphone => 352, game => 331, blading => 387, shop => 396, rollator => 358, football => 339, loudspeaker => 303, driller => 333, binoculars => 323, 'ice cream' => 381, toiletpaper => 394, balloons => 348, book => 354, spraycan => 368, scull => 361, wallclock => 326, 'ear muffs' => 346, tv => 328, makeup => 383, lifejacket => 391, storm => 370, |
215
|
|
|
|
|
|
|
# Cleaned names |
216
|
|
|
|
|
|
|
airplane => 316, aeroplane => 316, pills => 389, 'walking frame' => 358, drill => 333, skull => 361, clock => 326 |
217
|
|
|
|
|
|
|
); |
218
|
|
|
|
|
|
|
|
219
|
|
|
|
|
|
|
our %iconsByCategory = ( |
220
|
|
|
|
|
|
|
Transport => |
221
|
|
|
|
|
|
|
[301, 304, 316, 317, 358, 372, 375, 378, 379, 401], |
222
|
|
|
|
|
|
|
Weaponry => |
223
|
|
|
|
|
|
|
[308, 310, 343], |
224
|
|
|
|
|
|
|
'Household items' => |
225
|
|
|
|
|
|
|
[302, 324, 326, 323, 327, 348, 349, 353, 354, 373, 377, 380, 383, 384, 386, 389, 394, 396, 397], |
226
|
|
|
|
|
|
|
'Audio Visual' => |
227
|
|
|
|
|
|
|
[303, 305, 312, 314, 320, 328, 329, 330, 331, 342, 346, 336, 351, 352, 376], |
228
|
|
|
|
|
|
|
Clothing => |
229
|
|
|
|
|
|
|
[306, 311, 335, 340, 344, 345, 391, 325], |
230
|
|
|
|
|
|
|
'Food and beverages' => |
231
|
|
|
|
|
|
|
[315, 319, 322, 334, 341, 360, 366, 369, 381, 385, 390], |
232
|
|
|
|
|
|
|
Sport => |
233
|
|
|
|
|
|
|
[307, 321, 339, 359, 362, 364, 387, 388], |
234
|
|
|
|
|
|
|
Activities => |
235
|
|
|
|
|
|
|
[313, 382, 395, 399], |
236
|
|
|
|
|
|
|
Tools => |
237
|
|
|
|
|
|
|
[309, 333, 332, 350, 368], |
238
|
|
|
|
|
|
|
'Generic icons' => |
239
|
|
|
|
|
|
|
[337, 356], |
240
|
|
|
|
|
|
|
Symbols => |
241
|
|
|
|
|
|
|
[338, 357, 363, 367, 347, 392], |
242
|
|
|
|
|
|
|
Weather => |
243
|
|
|
|
|
|
|
[365, 370, 374, 398, 400], |
244
|
|
|
|
|
|
|
Misc => |
245
|
|
|
|
|
|
|
[318, 355, 361, 371, 393, 402, 403] |
246
|
|
|
|
|
|
|
); |
247
|
|
|
|
|
|
|
|
248
|
|
|
|
|
|
|
our %iconById = ( |
249
|
|
|
|
|
|
|
301 => 'car', 302 => 'alarmclock', 303 => 'loudspeaker', 304 => 'tram', 305 => 'casette', 306 => 'underware', 307 => 'rollerblade', 308 => 'uzi', 309 => 'scoop', 310 => 'bomb', 311 => 'bra', 312 => 'videotape', 313 => 'cigarettes', 314 => 'vinyl', 315 => 'champaign', 316 => 'airplain', 317 => 'bus', 318 => 'grumpy', 319 => 'coffee', 320 => 'camera', 321 => 'basketball', 322 => 'beer', 323 => 'binoculars', 324 => 'boiler', 325 => 'walk', 326 => 'wallclock', 327 => 'trashcan', 328 => 'tv', 329 => 'computing', 330 => 'videocamera', 331 => 'game', 332 => 'cone', 333 => 'driller', 334 => 'popcorn', 335 => 'playshirt', 336 => 'disc', 337 => 'event', 338 => 'exclamationmark', 339 => 'football', 340 => 'footballshoe', 341 => 'eat', 342 => 'gameboy', 343 => 'grenade', 344 => 'hand', 345 => 'hanger', 346 => 'hearingprotector', 347 => 'love', 348 => 'balloons', 349 => 'clock', 350 => 'barrier', 351 => 'laptop', 352 => 'megaphone', 353 => 'microwave', 354 => 'book', 355 => 'middlefinger', 356 => 'notes', 357 => 'question', 358 => 'rollator', 359 => 'shuttlecock', 360 => 'salt', 361 => 'scull', 362 => 'sk8', 363 => 'sleep', 364 => 'snorkeling', 365 => 'snowflake', 366 => 'soda', 367 => 'song', 368 => 'spraycan', 369 => 'sticks', 370 => 'storm', 371 => 'straitjacket', 372 => 'metro', 373 => 'luggage', 374 => 'sun', 375 => 'taxi', 376 => 'technics', 377 => 'toaster', 378 => 'train', 379 => 'wheelchair', 380 => 'zippo', 381 => 'icecream', 382 => 'movie', 383 => 'makeup', 384 => 'bandaid', 385 => 'wine', 386 => 'clean', 387 => 'blading', 388 => 'bike', 389 => 'pils', 390 => 'picnic', 391 => 'lifejacket', 392 => 'home', 393 => 'happy', 394 => 'toiletpaper', 395 => 'theatre', 396 => 'shop', 397 => 'search', 398 => 'cloudy', 399 => 'hurry', 400 => 'morning', 401 => 'car', 402 => 'baby-boy', 403 => 'baby-girl' |
250
|
|
|
|
|
|
|
); |
251
|
|
|
|
|
|
|
|
252
|
|
|
|
|
|
|
our %iconByName = ( |
253
|
|
|
|
|
|
|
# Original names |
254
|
|
|
|
|
|
|
reverse %iconById, |
255
|
|
|
|
|
|
|
# Cleaned names |
256
|
|
|
|
|
|
|
airplane => 316, aeroplane => 316, pills => 389, 'walking frame' => 358, drill => 333, skull => 361, clock => 326 |
257
|
|
|
|
|
|
|
); |
258
|
|
|
|
|
|
|
|
259
|
|
|
|
|
|
|
our @OfficialIconList = (322, 319, 329, 341, 392, 399, 400, 363, 367, 377, 316, 388, 317, 401, 373, 372, 375, 378, 304, 325, 395, 393, 347, 308, 364, 310, 371, 389, 318, 352, 331, 387, 396, 358, 339, 303, 333, 323, 381, 394, 348, 354, 368, 361, 326, 346, 328, 383, 391, 370); |
260
|
|
|
|
|
|
|
|
261
|
|
|
|
|
|
|
sub findIcon { |
262
|
0
|
|
|
0
|
0
|
|
my $class = shift; |
263
|
0
|
|
0
|
|
|
|
my $icon = shift || $class; |
264
|
0
|
|
0
|
|
|
|
return $iconByName{lc $icon} || undef; |
265
|
|
|
|
|
|
|
} |
266
|
|
|
|
|
|
|
|
267
|
|
|
|
|
|
|
|
268
|
|
|
|
|
|
|
package HashInflator; |
269
|
|
|
|
|
|
|
|
270
|
|
|
|
|
|
|
sub new { |
271
|
0
|
|
|
0
|
|
|
my $class = shift; |
272
|
0
|
0
|
|
|
|
|
my %hash = (@_ > 1) ? @_ : %{$_[0]}; |
|
0
|
|
|
|
|
|
|
273
|
|
|
|
|
|
|
|
274
|
0
|
|
|
|
|
|
foreach my $key (keys %hash){ |
275
|
0
|
0
|
|
|
|
|
if (ref $hash{$key} eq 'HASH'){ |
|
|
0
|
|
|
|
|
|
276
|
0
|
|
|
|
|
|
$hash{$key} = new HashInflator($hash{$key}); |
277
|
|
|
|
|
|
|
} |
278
|
|
|
|
|
|
|
elsif(ref $hash{$key} eq 'ARRAY'){ |
279
|
0
|
|
|
|
|
|
foreach( @{$hash{$key}} ) { |
|
0
|
|
|
|
|
|
|
280
|
0
|
|
|
|
|
|
$_ = new HashInflator($_); |
281
|
|
|
|
|
|
|
} |
282
|
|
|
|
|
|
|
} |
283
|
|
|
|
|
|
|
} |
284
|
|
|
|
|
|
|
|
285
|
0
|
|
|
|
|
|
return bless \%hash, $class; |
286
|
|
|
|
|
|
|
} |
287
|
|
|
|
|
|
|
|
288
|
|
|
|
|
|
|
sub AUTOLOAD { |
289
|
0
|
|
|
0
|
|
|
my $self = shift; |
290
|
0
|
|
|
|
|
|
our $AUTOLOAD; |
291
|
0
|
|
|
|
|
|
$AUTOLOAD =~ s/.+:://; |
292
|
0
|
0
|
|
|
|
|
return if $AUTOLOAD =~ /^[A-Z]+$/; |
293
|
0
|
|
|
|
|
|
return $self->{$AUTOLOAD}; |
294
|
|
|
|
|
|
|
} |
295
|
|
|
|
|
|
|
|
296
|
|
|
|
|
|
|
1; |
297
|
|
|
|
|
|
|
|
298
|
|
|
|
|
|
|
__END__ |