NAME

    Mojo::Base::XS - very fast Mojo-styled accessors

INSTALLATION

        perl Makefile.PL
        make
        make test
        make install

SYNOPSIS

        # Replace Mojo::Base
        use Mojo::Base::XS -infect;
        package Foo;
        use Mojo::Base;

        has foo => 'bar';
        has [qw/x y z/] => 42;
        has foo_defaults => sub { Bar->new };

        # Or use as standalone accessor generator
        package Bar;
        use Mojo::Base::XS;

        has bar => 'bar';
        has [qw/x y z/] => 42;
        has bar_defaults => sub { Baz->new };

    Mojo::Base::XS also allows you to run existing applications
    without any modifications:

        perl -MMojo::Base::XS=-infect script/your_app

DESCRIPTION

    Mojo::Base::XS implements fast accessrors for Mojo-based software.
    Code based on Class::XSAccessor - fastes Perl accessors.

    It can also be used as standalone Mojo-style accessors generator.

SEE ALSO

    * Class::XSAccessor
    * Mojo::Base

AUTHOR

    Yaroslav Korshak <yko@cpan.org>

LICENCE AND COPYRIGHT

    Copyright (C) 2011, Yaroslav Korshak

    This module is free software; you can redistribute it and/or modify it
    under the same terms as Perl itself. See perlartistic.
