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