Jesse Luehrs > OX-0.13 > OX::RouteBuilder::Code

Download:
OX-0.13.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.13   Source   Latest Release: OX-0.14

NAME ^

OX::RouteBuilder::Code - OX::RouteBuilder which routes to a coderef

VERSION ^

version 0.13

SYNOPSIS ^

  package MyApp;
  use OX;

  router as {
      route '/' => sub { "Hello world" };
  };

DESCRIPTION ^

This is an OX::RouteBuilder which allows routing directly to a coderef.

AUTHORS ^

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by Infinity Interactive.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: