OX::RouteBuilder::Code - OX::RouteBuilder which routes to a coderef
version 0.14
package MyApp; use OX; router as { route '/' => sub { "Hello world" }; };
This is an OX::RouteBuilder which allows routing directly to a coderef.
Stevan Little <stevan.little@iinteractive.com>
Jesse Luehrs <doy@tozt.net>
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.
To install OX, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OX
CPAN shell
perl -MCPAN -e shell install OX
For more information on module installation, please visit the detailed CPAN module installation guide.