line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Class::PObject::Type::VARCHAR; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
# $Id: VARCHAR.pm,v 1.3 2003/09/09 00:11:59 sherzodr Exp $ |
4
|
|
|
|
|
|
|
|
5
|
6
|
|
|
6
|
|
25
|
use strict; |
|
6
|
|
|
|
|
8
|
|
|
6
|
|
|
|
|
581
|
|
6
|
|
|
|
|
|
|
#use diagnostics; |
7
|
6
|
|
|
6
|
|
23
|
use vars ('$VERSION', '@ISA'); |
|
6
|
|
|
|
|
25
|
|
|
6
|
|
|
|
|
233
|
|
8
|
6
|
|
|
6
|
|
1986
|
use Class::PObject::Type; |
|
6
|
|
|
|
|
11
|
|
|
6
|
|
|
|
|
417
|
|
9
|
|
|
|
|
|
|
use overload ( |
10
|
76
|
|
|
76
|
|
4351
|
'""' => sub { $_[0]->id }, |
11
|
3
|
100
|
|
3
|
|
28
|
bool => sub { $_[0]->id ? 1 : 0 }, |
12
|
6
|
|
|
|
|
46
|
fallback => 1, |
13
|
6
|
|
|
6
|
|
32
|
); |
|
6
|
|
|
|
|
6
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
@ISA = ("Class::PObject::Type"); |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
$VERSION = '1.02'; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |
24
|
|
|
|
|
|
|
__END__ |