File: Root.pm

package info (click to toggle)
libcatalyst-perl 5.90128-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,988 kB
  • sloc: perl: 10,908; makefile: 7
file content (13 lines) | stat: -rw-r--r-- 250 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
package TestMiddleware::Controller::Root;

use Moose;
use MooseX::MethodAttributes;

extends 'Catalyst::Controller';

sub default : Path { }
sub welcome : Path(welcome) {
  pop->res->body('Welcome to Catalyst');
}

__PACKAGE__->meta->make_immutable;