6 use Catalyst::Runtime '5.70';
8 # Set flags and add plugins for the application
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
16 use Catalyst qw/ConfigLoader/;
18 our $VERSION = '0.01';
20 # Configure the application.
22 # Note that settings in SampleREST.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
29 __PACKAGE__->config( name => 'SampleREST' );
31 # Start the application
37 SampleREST - Catalyst based application
41 script/samplerest_server.pl
45 [enter your description here]
49 L<SampleREST::Controller::Root>, L<Catalyst>
57 This library is free software, you can redistribute it and/or modify
58 it under the same terms as Perl itself.