diff options
author | matthewt <matthewt@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2007-09-12 18:11:34 +0000 |
---|---|---|
committer | matthewt <matthewt@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2007-09-12 18:11:34 +0000 |
commit | 7adfd53f17f66ffe93763e944ed1d3fc52a369dc (patch) | |
tree | 19e599e74419b41cbbe651fd226b81e8b73551d3 /lib/ComponentUI.pm | |
parent | c728c97cb1061330e63c7cc048e768ef74988fe6 (diff) | |
download | reaction-7adfd53f17f66ffe93763e944ed1d3fc52a369dc.tar.gz reaction-7adfd53f17f66ffe93763e944ed1d3fc52a369dc.zip |
moved shit to trunk
Diffstat (limited to 'lib/ComponentUI.pm')
-rw-r--r-- | lib/ComponentUI.pm | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/lib/ComponentUI.pm b/lib/ComponentUI.pm new file mode 100644 index 0000000..f1938c5 --- /dev/null +++ b/lib/ComponentUI.pm @@ -0,0 +1,61 @@ +package ComponentUI; + +use strict; +use warnings; + +use Catalyst::Runtime '5.70'; + +# Set flags and add plugins for the application +# +# -Debug: activates the debug mode for very useful log messages +# ConfigLoader: will load the configuration from a YAML file in the +# application's home directory +# Static::Simple: will serve static files from the application's root +# directory + +use Catalyst qw/-Debug ConfigLoader Static::Simple I18N/; + +our $VERSION = '0.01'; + +# Configure the application. +# +# Note that settings in ComponentUI.yml (or other external +# configuration file that you set up manually) take precedence +# over this when using ConfigLoader. Thus configuration +# details given here can function as a default configuration, +# with a external configuration file acting as an override for +# local deployment. + +__PACKAGE__->config( name => 'ComponentUI' ); + +# Start the application +__PACKAGE__->setup; + + +=head1 NAME + +ComponentUI - Catalyst based application + +=head1 SYNOPSIS + + script/componentui_server.pl + +=head1 DESCRIPTION + +[enter your description here] + +=head1 SEE ALSO + +L<ComponentUI::Controller::Root>, L<Catalyst> + +=head1 AUTHORS + +See L<Reaction::Class> for authors. + +=head1 LICENSE + +See L<Reaction::Class> for the license. + +=cut + +1; |