mite - A Perl OO compiler
mite init Your-Project
...write code with use Your::Project::Mite...
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.
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.
Please report any bugs to https://github.com/tobyink/p5-mite/issues.
Michael G Schwern <firstname.lastname@example.org>.
Toby Inkster <email@example.com>.
This software is copyright (c) 2011-2014 by Michael G Schwern.
This software is copyright (c) 2022 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
To install Mite, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.