package OX; BEGIN { $OX::AUTHORITY = 'cpan:STEVAN'; } {
$OX::VERSION = '0.04'; } use Moose::Exporter; use 5.010; #
ABSTRACT: the hardest working two letters in Perl use
Bread::Board::Declare 0.11 (); use Carp 'confess'; use
Class::Load 0.10 'load_class'; use namespace::autoclean (); use
Scalar::Util 'blessed'; my ($import, undef, $init_meta) =
Moose::Exporter->build_import_methods( also => ['Moose',
'Bread::Board::Declare'], with_meta => [qw(router route mount
wrap)], as_is => [qw(as)], install => [qw(unimport)],
class_metaroles => { class => ['OX::Meta::Role::Class'], },
base_class_roles => [
'OX::Application::Role::Router::Path::Router',
'OX::Application::Role::RouteBuilder',
'OX::Application::Role::Sugar', ], ); sub import {
namespace::autoclean->import(-cleanee => scalar(caller)); goto
$import; } sub init_meta { my $package = shift; my %options =
@_; $options{base_class} = 'OX::Application';
Moose->init_meta(%options); $package->$init_meta(%options); }
sub as (&) { $_[0] } sub router { my ($meta, @args) =