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

Download:
OX-0.14.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.14   Source  

NAME ^

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

VERSION ^

version 0.14

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) 2014 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: