From 7adfd53f17f66ffe93763e944ed1d3fc52a369dc Mon Sep 17 00:00:00 2001 From: matthewt Date: Wed, 12 Sep 2007 18:11:34 +0000 Subject: moved shit to trunk --- lib/ComponentUI.pm | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 lib/ComponentUI.pm (limited to 'lib/ComponentUI.pm') 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, L + +=head1 AUTHORS + +See L for authors. + +=head1 LICENSE + +See L for the license. + +=cut + +1; -- cgit v1.2.3-54-g00ecf