projects
/
catagits/CatalystX-Declare.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
added example application
[catagits/CatalystX-Declare.git]
/
examples
/
MyApp-Web
/
lib
/
MyApp
/
Web.pm
1
use CatalystX::Declare;
2
3
# specified roles (or rather: plugins) will be passed to ->setup().
4
application MyApp::Web
5
with ConfigLoader
6
with Static::Simple {
7
8
# the $CLASS variable is automatically provided via CLASS.pm
9
$CLASS->config(name => 'MyApp-Web');
10
}