Add headers to Lmo and WebAPI modules, and put the modules in pt-agent.

This commit is contained in:
Daniel Nichter
2012-12-24 18:20:25 -07:00
parent 0083216a6c
commit d035125729
16 changed files with 1779 additions and 93 deletions

View File

@@ -22,7 +22,7 @@
# VersionParser parses a MySQL version string.
package VersionParser;
use Mo;
use Lmo;
use Scalar::Util qw(blessed);
use English qw(-no_match_vars);
use constant PTDEBUG => $ENV{PTDEBUG} || 0;
@@ -37,8 +37,6 @@ use overload (
use Carp ();
our $VERSION = 0.01;
has major => (
is => 'ro',
isa => 'Int',
@@ -213,7 +211,7 @@ sub _d {
print STDERR "# $package:$line $PID ", join(' ', @_), "\n";
}
no Mo;
no Lmo;
1;
}
# ###########################################################################