projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
start using Class::C3, may need to add a reinitalize bit later, not sure
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
Engine
/
HTTP
/
Restarter
/
Watcher.pm
diff --git
a/lib/Catalyst/Engine/HTTP/Restarter/Watcher.pm
b/lib/Catalyst/Engine/HTTP/Restarter/Watcher.pm
index
847fb0d
..
9ad126e
100644
(file)
--- a/
lib/Catalyst/Engine/HTTP/Restarter/Watcher.pm
+++ b/
lib/Catalyst/Engine/HTTP/Restarter/Watcher.pm
@@
-13,16
+13,10
@@
has directory => (is => 'rw');
has watch_list => (is => 'rw');
has follow_simlinks => (is => 'rw');
-sub new {
- my ( $class, %args ) = @_;
+no Moose;
- my $self = {%args};
-
- bless $self, $class;
-
- $self->_init;
-
- return $self;
+sub BUILD {
+ shift->_init;
}
sub _init {