Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

use new style C::A::Lite.

  • Loading branch information...
commit 9803fa35f207512c787074e633d871c1dc881bef 1 parent 1121c70
Tokuhiro Matsuno authored

Showing 2 changed files with 4 additions and 3 deletions. Show diff stats Hide diff stats

  1. +1 1  Makefile.PL
  2. +3 2 lib/Proc/Guard.pm
2  Makefile.PL
@@ -2,7 +2,7 @@ use inc::Module::Install;
2 2 name 'Proc-Guard';
3 3 all_from 'lib/Proc/Guard.pm';
4 4
5   -requires 'Class::Accessor::Lite';
  5 +requires 'Class::Accessor::Lite' => 0.05;
6 6 requires 'Exporter' => 5.63;
7 7 requires 'Test::More' => 0.94;
8 8
5 lib/Proc/Guard.pm
@@ -20,8 +20,9 @@ sub proc_guard {
20 20
21 21 # OOish interface
22 22 use POSIX;
23   -use Class::Accessor::Lite;
24   -Class::Accessor::Lite->mk_accessors(qw/pid/);
  23 +use Class::Accessor::Lite 0.05 (
  24 + rw => ['pid'],
  25 +);
25 26
26 27 sub new {
27 28 my $class = shift;

0 comments on commit 9803fa3

Please sign in to comment.
Something went wrong with that request. Please try again.