Permalink
Browse files

use new style C::A::Lite.

  • Loading branch information...
1 parent 1121c70 commit 9803fa35f207512c787074e633d871c1dc881bef @tokuhirom committed Aug 14, 2011
Showing with 4 additions and 3 deletions.
  1. +1 −1 Makefile.PL
  2. +3 −2 lib/Proc/Guard.pm
View
@@ -2,7 +2,7 @@ use inc::Module::Install;
name 'Proc-Guard';
all_from 'lib/Proc/Guard.pm';
-requires 'Class::Accessor::Lite';
+requires 'Class::Accessor::Lite' => 0.05;
requires 'Exporter' => 5.63;
requires 'Test::More' => 0.94;
View
@@ -20,8 +20,9 @@ sub proc_guard {
# OOish interface
use POSIX;
-use Class::Accessor::Lite;
-Class::Accessor::Lite->mk_accessors(qw/pid/);
+use Class::Accessor::Lite 0.05 (
+ rw => ['pid'],
+);
sub new {
my $class = shift;

0 comments on commit 9803fa3

Please sign in to comment.