package Catalyst::Helper;
use strict;
+use warnings;
use base 'Class::Accessor::Fast';
use Config;
use File::Spec;
use strict;
use warnings;
+use Catalyst::Runtime '5.70';
+
#
# Set flags and add plugins for the application
#
our $VERSION = '0.01';
#
-# Configure the application
+# Configure the application.
+#
+# Note that settings in [% name %].yml take precedence over
+# this when using ConfigLoader. Thus configuration details
+# given here can function as a default configuration, with a
+# YAML file acting as an override for local deployment.
#
__PACKAGE__->config( name => '[% name %]' );
BEGIN { $ENV{CATALYST_ENGINE} ||= 'CGI' }
use strict;
+use warnings;
use FindBin;
use lib "$FindBin::Bin/../lib";
use [% name %];
BEGIN { $ENV{CATALYST_ENGINE} ||= 'FastCGI' }
use strict;
+use warnings;
use Getopt::Long;
use Pod::Usage;
use FindBin;
}
use strict;
+use warnings;
use Getopt::Long;
use Pod::Usage;
use FindBin;
[% startperl %]
use strict;
+use warnings;
use Getopt::Long;
use Pod::Usage;
use FindBin;
[% startperl %]
use strict;
+use warnings;
use Getopt::Long;
use Pod::Usage;
use Catalyst::Helper;