line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package XAS::Lib::Mixins::Process; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
our $VERSION = '0.01'; |
4
|
|
|
|
|
|
|
my $mixin; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
BEGIN { |
7
|
1
|
|
|
1
|
|
987
|
$mixin = 'XAS::Lib::Mixins::Process::Unix'; |
8
|
1
|
50
|
|
|
|
37
|
$mixin = 'XAS::Lib::Mixins::Process::Win32' if ($^O eq 'MSWin32'); |
9
|
|
|
|
|
|
|
} |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
use XAS::Class |
12
|
1
|
|
|
|
|
7
|
debug => 0, |
13
|
|
|
|
|
|
|
version => $VERSION, |
14
|
|
|
|
|
|
|
base => 'XAS::Base', |
15
|
|
|
|
|
|
|
mixin => $mixin, |
16
|
|
|
|
|
|
|
mixins => 'proc_status', |
17
|
1
|
|
|
1
|
|
5
|
; |
|
1
|
|
|
|
|
1
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
# ---------------------------------------------------------------------- |
20
|
|
|
|
|
|
|
# Public Methods |
21
|
|
|
|
|
|
|
# ---------------------------------------------------------------------- |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
# ---------------------------------------------------------------------- |
24
|
|
|
|
|
|
|
# Private Methods |
25
|
|
|
|
|
|
|
# ---------------------------------------------------------------------- |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
1; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
__END__ |