X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FDaemonize%2FWithPidFile.pm;fp=lib%2FMooseX%2FDaemonize%2FWithPidFile.pm;h=e55d38dd203fcab027423ef0c7f19faa7aa533db;hb=1d85c76d2da46df3e779e574396f7eba5bf53fdb;hp=33aa69e3767ca7dfaeaa92119695b796e06f1bd4;hpb=69186a4879a2ddfed228c03e7a25d5455921dfb0;p=gitmo%2FMooseX-Daemonize.git diff --git a/lib/MooseX/Daemonize/WithPidFile.pm b/lib/MooseX/Daemonize/WithPidFile.pm index 33aa69e..e55d38d 100644 --- a/lib/MooseX/Daemonize/WithPidFile.pm +++ b/lib/MooseX/Daemonize/WithPidFile.pm @@ -2,7 +2,7 @@ package MooseX::Daemonize::WithPidFile; use strict; # cause Perl::Critic errors are annoying use MooseX::Getopt; # to load the Getopt metaclass use Moose::Role; -our $VERSION = '0.09'; +our $VERSION = '0.10'; use MooseX::Daemonize::Pid::File; @@ -13,7 +13,7 @@ requires 'init_pidfile'; has pidfile => ( # NOTE: - # this should always be accessible + # this should always be accessible # from the command line IMO # - SL metaclass => 'Getopt', @@ -28,7 +28,7 @@ has pidfile => ( after 'daemonize' => sub { my $self = shift; # NOTE: - # make sure that we do not have + # make sure that we do not have # any bad PID values stashed around # - SL $self->pidfile->clear_pid; @@ -65,8 +65,8 @@ MooseX::Daemonize::WithPidFile - A Role with the core daemonization and pidfile =head1 DESCRIPTION -This is a slightly extended basic daemonization Role, it provides -Pidfile management along with the core daemonization features +This is a slightly extended basic daemonization Role, it provides +Pidfile management along with the core daemonization features found in L. =head1 ATTRIBUTES @@ -76,7 +76,7 @@ found in L. =item I rw, isa => MooseX::Daemonize::Pid::File)> This attribute holds the L object used -to manage the Pidfile. It will initialize the object using the +to manage the Pidfile. It will initialize the object using the C method (which is required by this role). =back @@ -92,7 +92,7 @@ return a L object. =item B -This is a predicate method to tell you if your I attribute has +This is a predicate method to tell you if your I attribute has been initialized yet. =back @@ -103,7 +103,7 @@ been initialized yet. =item B -This adds an C method modifier to the C method (from +This adds an C method modifier to the C method (from L) and handles writing your Pidfile for you. =item B @@ -134,7 +134,7 @@ Stevan Little C<< >> =head1 LICENCE AND COPYRIGHT -Copyright (c) 2007-2008, Chris Prather C<< >>. All rights +Copyright (c) 2007-2010, Chris Prather C<< >>. All rights reserved. Portions heavily borrowed from L which is copyright Earl Hood.