| 1 | package Devel::Monitor::Common; | ||
| 2 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 1 | require Exporter; | |
| 6 | |||
| 7 | 1 | our @ISA = qw(Exporter); | |
| 8 | |||
| 9 | 1 | our @EXPORT = qw(); #Export by default | |
| 10 | |||
| 11 | 1 | our %EXPORT_TAGS = ( #Export as groups | |
| 12 | 'all' => [ | ||
| 13 | qw(F_ID | ||
| 14 | F_VAR | ||
| 15 | F_IS_CODE | ||
| 16 | F_UNMONITORED | ||
| 17 | |||
| 18 | printMsg | ||
| 19 | ) | ||
| 20 | ] | ||
| 21 | ); | ||
| 22 | |||
| 23 | 1 | Exporter::export_ok_tags( #Export by request (into @EXPORT_OK) | |
| 24 | 'all'); | ||
| 25 | |||
| 26 | #Fields | ||
| 27 | 1 | ▶ | use constant F_ID => '_id'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 28 | 1 | ▶ | use constant F_VAR => '_var'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 29 | 1 | ▶ | use constant F_IS_CODE => '_isCode'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 30 | 1 | ▶ | use constant F_UNMONITORED => '_unmonitored'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 31 | |||
| 32 | 253 | ▶ | sub printMsg { |
|
Subroutine
printMsg: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 33 | 253 | my $msg = shift; | |
| 34 | 253 | print STDERR $msg; | |
| 35 | } | ||
| 36 | |||
| 37 | 1 | 1; | |