[Catalyst-commits] r8290 - Catalyst-Devel/1.00/trunk/lib/Catalyst
rafl at dev.catalyst.perl.org
rafl at dev.catalyst.perl.org
Mon Aug 25 23:46:51 BST 2008
Author: rafl
Date: 2008-08-25 23:46:51 +0100 (Mon, 25 Aug 2008)
New Revision: 8290
Modified:
Catalyst-Devel/1.00/trunk/lib/Catalyst/Helper.pm
Log:
Remove trailing whitespace in generated scripts and modules.
Modified: Catalyst-Devel/1.00/trunk/lib/Catalyst/Helper.pm
===================================================================
--- Catalyst-Devel/1.00/trunk/lib/Catalyst/Helper.pm 2008-08-25 22:46:43 UTC (rev 8289)
+++ Catalyst-Devel/1.00/trunk/lib/Catalyst/Helper.pm 2008-08-25 22:46:51 UTC (rev 8290)
@@ -619,7 +619,7 @@
# -Debug: activates the debug mode for very useful log messages
# ConfigLoader: will load the configuration from a Config::General file in the
# application's home directory
-# Static::Simple: will serve static files from the application's root
+# Static::Simple: will serve static files from the application's root
# directory
use parent qw/Catalyst/;
@@ -628,7 +628,7 @@
Static::Simple/;
our $VERSION = '0.01';
-# Configure the application.
+# Configure the application.
#
# Note that settings in [% appprefix %].conf (or other external
# configuration file that you set up manually) take precedence
@@ -711,14 +711,13 @@
my ( $self, $c ) = @_;
$c->response->body( 'Page not found' );
$c->response->status(404);
-
}
=head2 end
Attempt to render a view, if needed.
-=cut
+=cut
sub end : ActionClass('RenderView') {}
@@ -846,7 +845,7 @@
my $help = 0;
my ( $listen, $nproc, $pidfile, $manager, $detach, $keep_stderr );
-
+
GetOptions(
'help|?' => \$help,
'listen|l=s' => \$listen,
@@ -859,10 +858,10 @@
pod2usage(1) if $help;
-[% name %]->run(
- $listen,
+[% name %]->run(
+ $listen,
{ nproc => $nproc,
- pidfile => $pidfile,
+ pidfile => $pidfile,
manager => $manager,
detach => $detach,
keep_stderr => $keep_stderr,
@@ -878,7 +877,7 @@
=head1 SYNOPSIS
[% appprefix %]_fastcgi.pl [options]
-
+
Options:
-? -help display this help and exits
-l -listen Socket path to listen on
@@ -914,11 +913,11 @@
__server__
[% startperl %]
-BEGIN {
+BEGIN {
$ENV{CATALYST_ENGINE} ||= 'HTTP';
$ENV{CATALYST_SCRIPT_GEN} = [% scriptgen %];
require Catalyst::Engine::HTTP;
-}
+}
use strict;
use warnings;
@@ -1187,7 +1186,7 @@
=cut
-=head2 index
+=head2 index
=cut
More information about the Catalyst-commits
mailing list