source: trunk/Vote/lib/Vote.pm @ 2

Last change on this file since 2 was 2, checked in by nanardon, 15 years ago
  • create with catalyst
File size: 1.3 KB
Line 
1package Vote;
2
3use strict;
4use warnings;
5
6use Catalyst::Runtime '5.70';
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 YAML file in the
12#                 application's home directory
13# Static::Simple: will serve static files from the application's root
14#                 directory
15
16use Catalyst qw/-Debug ConfigLoader Static::Simple/;
17
18our $VERSION = '0.01';
19
20# Configure the application.
21#
22# Note that settings in Vote.yml (or other external
23# configuration file that you set up manually) take precedence
24# over this when using ConfigLoader. Thus configuration
25# details given here can function as a default configuration,
26# with a external configuration file acting as an override for
27# local deployment.
28
29__PACKAGE__->config( name => 'Vote' );
30
31# Start the application
32__PACKAGE__->setup;
33
34
35=head1 NAME
36
37Vote - Catalyst based application
38
39=head1 SYNOPSIS
40
41    script/vote_server.pl
42
43=head1 DESCRIPTION
44
45[enter your description here]
46
47=head1 SEE ALSO
48
49L<Vote::Controller::Root>, L<Catalyst>
50
51=head1 AUTHOR
52
53Thauvin Olivier
54
55=head1 LICENSE
56
57This library is free software, you can redistribute it and/or modify
58it under the same terms as Perl itself.
59
60=cut
61
621;
Note: See TracBrowser for help on using the repository browser.