line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Class::PObject::Type::INTEGER; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
# INTEGER.pm,v 1.3 2003/09/09 00:11:59 sherzodr Exp |
4
|
|
|
|
|
|
|
|
5
|
3
|
|
|
3
|
|
14
|
use strict; |
|
3
|
|
|
|
|
7
|
|
|
3
|
|
|
|
|
107
|
|
6
|
|
|
|
|
|
|
#use diagnostics; |
7
|
3
|
|
|
3
|
|
14
|
use vars ('$VERSION', '@ISA'); |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
138
|
|
8
|
3
|
|
|
3
|
|
17
|
use Class::PObject::Type; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
199
|
|
9
|
|
|
|
|
|
|
use overload ( |
10
|
8
|
|
|
8
|
|
40
|
'""' => sub { $_[0]->id }, |
11
|
19
|
50
|
|
19
|
|
79
|
bool => sub { $_[0]->id ? 1 : 0 }, |
12
|
3
|
|
|
|
|
38
|
fallback => 1, |
13
|
3
|
|
|
3
|
|
16
|
); |
|
3
|
|
|
|
|
20
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
@ISA = ("Class::PObject::Type"); |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
$VERSION = '1.00'; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
1; |
20
|
|
|
|
|
|
|
__END__ |