mite - A Perl OO compiler
cd Your-Project mite init Your-Project ...write code with use Your::Project::Mite... mite compile
mite is a Perl compiler for Mite, a Moose-like module for doing object oriented code. Unlike others, code using Mite has no dependencies, even on Mite itself.
mite allows you to write object-oriented Perl modules without any dependencies. There is also no startup cost to build the classes, they are already built.
mite compiles not into C, but into more Perl. Each .pm file which uses Mite will have an associated .mite.pm file which contains the additional code implementing the class. This is pure Perl code and will load as fast as any other Perl.
mite init <project name>
Initializes a project to use Mite.
Creates a .mite directory in the current directory where the configuration file .mite/config is stored.
Generates the project specific mite shim file.
mite compile
Reads each .pm file and creates the necessary extra mite code so it will run.
You must run mite compile after editing any file which uses Mite.
You must rerun mite compile after every change to a file which uses Mite.
Mite
To install Mite, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mite
CPAN shell
perl -MCPAN -e shell install Mite
For more information on module installation, please visit the detailed CPAN module installation guide.