[Catalyst-commits] r13969 - Catalyst-Runtime/5.80/branches/restarter_changeclass/lib/Catalyst/Script

dd070 at dev.catalyst.perl.org dd070 at dev.catalyst.perl.org
Wed Feb 16 15:35:10 GMT 2011


Author: dd070
Date: 2011-02-16 15:35:10 +0000 (Wed, 16 Feb 2011)
New Revision: 13969

Modified:
   Catalyst-Runtime/5.80/branches/restarter_changeclass/lib/Catalyst/Script/Server.pm
Log:
added more parameters in return value of _restarter_args

Modified: Catalyst-Runtime/5.80/branches/restarter_changeclass/lib/Catalyst/Script/Server.pm
===================================================================
--- Catalyst-Runtime/5.80/branches/restarter_changeclass/lib/Catalyst/Script/Server.pm	2011-02-16 10:16:51 UTC (rev 13968)
+++ Catalyst-Runtime/5.80/branches/restarter_changeclass/lib/Catalyst/Script/Server.pm	2011-02-16 15:35:10 UTC (rev 13969)
@@ -144,6 +144,11 @@
         ($self->_has_restart_delay     ? (sleep_interval  => $self->restart_delay)     : ()),
         ($self->_has_restart_directory ? (directories     => $self->restart_directory) : ()),
         ($self->_has_restart_regex     ? (filter          => $self->restart_regex)     : ()),
+    ),
+    (
+        map { $_ => $self->$_ } qw(
+            application_name host port debug pidfile restart_directory 
+            restart_delay)
     );
 }
 
@@ -175,7 +180,7 @@
         # fail.
         $| = 1 if $ENV{HARNESS_ACTIVE};
 
-        Catalyst::Utils::load_class($self->restarter_class);
+        Catalyst::Utils::ensure_class_loaded($self->restarter_class);
 
         my $subclass = $self->restarter_class->pick_subclass;
 




More information about the Catalyst-commits mailing list