[Catalyst-commits] r11993 - in
Catalyst-Runtime/5.80/branches/better_scripts/lib/Catalyst: . Script
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Mon Nov 23 23:43:33 GMT 2009
Author: t0m
Date: 2009-11-23 23:43:32 +0000 (Mon, 23 Nov 2009)
New Revision: 11993
Modified:
Catalyst-Runtime/5.80/branches/better_scripts/lib/Catalyst/Script/FastCGI.pm
Catalyst-Runtime/5.80/branches/better_scripts/lib/Catalyst/ScriptRole.pm
Log:
Chomp trailing space
Modified: Catalyst-Runtime/5.80/branches/better_scripts/lib/Catalyst/Script/FastCGI.pm
===================================================================
--- Catalyst-Runtime/5.80/branches/better_scripts/lib/Catalyst/Script/FastCGI.pm 2009-11-23 23:40:57 UTC (rev 11992)
+++ Catalyst-Runtime/5.80/branches/better_scripts/lib/Catalyst/Script/FastCGI.pm 2009-11-23 23:43:32 UTC (rev 11993)
@@ -27,15 +27,15 @@
has daemon => (
traits => [qw(Getopt)],
- isa => Bool,
- is => 'ro',
- cmd_aliases => 'd',
+ isa => Bool,
+ is => 'ro',
+ cmd_aliases => 'd',
documentation => 'Daemonize (go into the background)',
);
has manager => (
traits => [qw(Getopt)],
- isa => Str,
+ isa => Str,
is => 'ro',
cmd_aliases => 'M',
documentation => 'Use a different FastCGI process manager class',
@@ -43,25 +43,25 @@
has keeperr => (
traits => [qw(Getopt)],
- cmd_aliases => 'e',
- isa => Bool,
- is => 'ro',
+ cmd_aliases => 'e',
+ isa => Bool,
+ is => 'ro',
documentation => 'Log STDERR',
);
has nproc => (
traits => [qw(Getopt)],
- cmd_aliases => 'n',
+ cmd_aliases => 'n',
isa => Int,
- is => 'ro',
+ is => 'ro',
documentation => 'Specify a number of child processes',
);
has detach => (
traits => [qw(Getopt)],
- cmd_aliases => 'det',
- isa => Bool,
- is => 'ro',
+ cmd_aliases => 'det',
+ isa => Bool,
+ is => 'ro',
documentation => 'Detach this FastCGI process',
);
Modified: Catalyst-Runtime/5.80/branches/better_scripts/lib/Catalyst/ScriptRole.pm
===================================================================
--- Catalyst-Runtime/5.80/branches/better_scripts/lib/Catalyst/ScriptRole.pm 2009-11-23 23:40:57 UTC (rev 11992)
+++ Catalyst-Runtime/5.80/branches/better_scripts/lib/Catalyst/ScriptRole.pm 2009-11-23 23:43:32 UTC (rev 11993)
@@ -77,11 +77,11 @@
package MyApp::Script::Foo;
use Moose;
use namespace::autoclean;
-
+
with 'Catalyst::Script::Role';
-
+
sub _application_args { ... }
-
+
=head1 DESCRIPTION
Role with the common functionality of Catalyst scripts.
@@ -114,4 +114,4 @@
it under the same terms as Perl itself.
=cut
-
+
More information about the Catalyst-commits
mailing list