[Catalyst-commits] r10787 -
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:45:19 GMT 2009
Author: dhoss
Date: 2009-07-04 00:45:19 +0000 (Sat, 04 Jul 2009)
New Revision: 10787
Modified:
Catalyst-Runtime/5.80/branches/better_scripts/lib/Catalyst/Script/Server.pm
Log:
listen now 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:44:15 UTC (rev 10786)
+++ Catalyst-Runtime/5.80/branches/better_scripts/lib/Catalyst/Script/Server.pm 2009-07-04 00:45:19 UTC (rev 10787)
@@ -34,7 +34,15 @@
required => 0
);
-has listen => ( isa => 'Int', is => 'ro', required => 0, default => "3000" );
+has listen => (
+ traits => [qw(Getopt)],
+ cmd_aliases => 'l',
+ isa => 'Int',
+ is => 'ro',
+ required => 0,
+ default => "3000"
+);
+
has pidfile => ( isa => 'Str', is => 'ro', required => 0 );
has keepalive => ( isa => 'Bool', is => 'ro', required => 0, default => 0 );
has background => ( isa => 'Bool', is => 'ro', required => 0 );
More information about the Catalyst-commits
mailing list