3 # nothing special here, so it's just normal MooseX::Declare syntax
4 class MyApp::Web::View::Hello extends Catalyst::View {
6 # the process method is the standard method that is forwarded to
7 method process (Object $ctx) {
12 '<html><body><h1>Hello View: %s</h1></body></html>',
13 ($ctx->stash->{hello} || 'Hello World!'),