File: Dispatch.pm

package info (click to toggle)
libcgi-application-server-perl 0.062-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 164 kB
  • ctags: 23
  • sloc: perl: 548; makefile: 4
file content (15 lines) | stat: -rw-r--r-- 200 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use strict;
use warnings;

package MyCGIApp::Dispatch;
use base 'CGI::Application::Dispatch';

sub dispatch_args {
  return {
    table => [
      '/foo/:rm' => { app => 'MyCGIApp' },
    ]
  }
}

1;