[Resmon-devel] [resmon commit] r282 - branches/resmon2/lib/Resmon/Module

svn-commit at lists.omniti.com svn-commit at lists.omniti.com
Mon Mar 22 13:13:51 EDT 2010


Author: mark
Date: 2010-03-22 13:13:51 -0400 (Mon, 22 Mar 2010)
New Revision: 282

Modified:
   branches/resmon2/lib/Resmon/Module/Resmon.pm
   branches/resmon2/lib/Resmon/Module/Sample.pm
Log:
Less boilerplate, more betterer

Modified: branches/resmon2/lib/Resmon/Module/Resmon.pm
===================================================================
--- branches/resmon2/lib/Resmon/Module/Resmon.pm	2010-03-22 14:30:43 UTC (rev 281)
+++ branches/resmon2/lib/Resmon/Module/Resmon.pm	2010-03-22 17:13:51 UTC (rev 282)
@@ -3,9 +3,7 @@
 use strict;
 use warnings;
 
-use Resmon::Module;
-use vars ('@ISA');
- at ISA = ("Resmon::Module");
+use base 'Resmon::Module';
 
 use Sys::Hostname;
 

Modified: branches/resmon2/lib/Resmon/Module/Sample.pm
===================================================================
--- branches/resmon2/lib/Resmon/Module/Sample.pm	2010-03-22 14:30:43 UTC (rev 281)
+++ branches/resmon2/lib/Resmon/Module/Sample.pm	2010-03-22 17:13:51 UTC (rev 282)
@@ -3,9 +3,7 @@
 use strict;
 use warnings;
 
-use Resmon::Module;
-use vars ('@ISA');
- at ISA = ("Resmon::Module");
+use base 'Resmon::Module';
 
 =pod
 



More information about the Resmon-devel mailing list