Tidy up dependencies
[catagits/Catalyst-Devel.git] / share / lib / MyApp.pm.tt
CommitLineData
239b5fc0 1package [% name %];
2
3use strict;
4use warnings;
5
6use Catalyst::Runtime 5.80;
7
8# Set flags and add plugins for the application
9#
10# -Debug: activates the debug mode for very useful log messages
11# ConfigLoader: will load the configuration from a Config::General file in the
12# application's home directory
13# Static::Simple: will serve static files from the application's root
14# directory
15
16use parent qw/Catalyst/;
17use Catalyst qw/-Debug
18 ConfigLoader
19 Static::Simple/;
20our $VERSION = '0.01';
21
22# Configure the application.
23#
24# Note that settings in [% appprefix %].conf (or other external
25# configuration file that you set up manually) take precedence
26# over this when using ConfigLoader. Thus configuration
27# details given here can function as a default configuration,
28# with an external configuration file acting as an override for
29# local deployment.
30
31__PACKAGE__->config( name => '[% name %]' );
32
33# Start the application
34__PACKAGE__->setup();
35
36
37=head1 NAME
38
39[% name %] - Catalyst based application
40
41=head1 SYNOPSIS
42
43 script/[% appprefix %]_server.pl
44
45=head1 DESCRIPTION
46
47[enter your description here]
48
49=head1 SEE ALSO
50
51L<[% rootname %]>, L<Catalyst>
52
53=head1 AUTHOR
54
55[% author %]
56
57=head1 LICENSE
58
59This library is free software. You can redistribute it and/or modify
60it under the same terms as Perl itself.
61
62=cut
63
641;