[Catalyst-commits] r10794 -
Catalyst-Runtime/5.80/branches/better_scripts/lib/Catalyst/Script
dhoss at dev.catalyst.perl.org
dhoss at dev.catalyst.perl.org
Sat Jul 4 00:57:11 GMT 2009
Author: dhoss
Date: 2009-07-04 00:57:11 +0000 (Sat, 04 Jul 2009)
New Revision: 10794
Modified:
Catalyst-Runtime/5.80/branches/better_scripts/lib/Catalyst/Script/Server.pm
Log:
restart regex has a short option
Modified: Catalyst-Runtime/5.80/branches/better_scripts/lib/Catalyst/Script/Server.pm
===================================================================
--- Catalyst-Runtime/5.80/branches/better_scripts/lib/Catalyst/Script/Server.pm 2009-07-04 00:56:16 UTC (rev 10793)
+++ Catalyst-Runtime/5.80/branches/better_scripts/lib/Catalyst/Script/Server.pm 2009-07-04 00:57:11 UTC (rev 10794)
@@ -90,7 +90,14 @@
required => 0
);
-has restart_regex => ( isa => 'Str', is => 'ro', required => 0 );
+has restart_regex => (
+ traits => [qw(Getopt)],
+ cmd_aliases => 'rxp',
+ isa => 'Str',
+ is => 'ro',
+ required => 0
+);
+
has follow_symlinks => ( isa => 'Bool', is => 'ro', required => 0 );
my @argv = @ARGV;
More information about the Catalyst-commits
mailing list