line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# $Id: /mirror/gungho/lib/Gungho/Base/Class.pm 8892 2007-11-10T14:11:01.888849Z lestrrat $ |
2
|
|
|
|
|
|
|
# |
3
|
|
|
|
|
|
|
# Copyright (c) 2007 Daisuke Maki <daisuke@endeworks.jp> |
4
|
|
|
|
|
|
|
# All rights reserved. |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
package Gungho::Base::Class; |
7
|
2
|
|
|
2
|
|
8
|
use strict; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
47
|
|
8
|
2
|
|
|
2
|
|
5
|
use base qw(Class::Data::Inheritable); |
|
2
|
|
|
|
|
1
|
|
|
2
|
|
|
|
|
770
|
|
9
|
2
|
|
|
2
|
|
1208
|
use Class::C3; |
|
2
|
|
|
|
|
2513
|
|
|
2
|
|
|
|
|
9
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
0
|
1
|
|
sub setup {} |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
1; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
__END__ |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=head1 NAME |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
Gungho::Base::Class - Base For Classes That Won't Be Instantiated |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 SYNOPSIS |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
package Gungho; |
24
|
|
|
|
|
|
|
use base qw(Gungho::Base::Class); |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 DESCRIPTION |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
This is a silly module, here only because Gungho used to be instance-based |
29
|
|
|
|
|
|
|
and yet change to class-only after realizing you can't have multiple instances |
30
|
|
|
|
|
|
|
of, for example, POE based Gungho objects and/or Danga::Socket based objects. |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
You usually don't need to know about this module. |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 METHODS |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head2 setup |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=cut |