05 Jul 2022 18:08:58 UTC
- Distribution: Mite
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (168 / 2 / 0)
- KwaliteeBus factor: 1
- 54.43% Coverage
- License: perl_5
- Perl: v5.10.1
- Download (75.7KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version++ed by:3 non-PAUSE users
- SEE ALSO
- COPYRIGHT AND LICENCE
- DISCLAIMER OF WARRANTIES
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.
Reads each .pm file and creates the necessary extra mite code so it will run.
You must run
mite compileafter editing any file which uses Mite.
You must rerun
mite compileafter 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.
|s||Focus search bar|
|?||Bring up this help dialog|
|g p||Go to pull requests|
|g i||go to github issues (only if github is preferred repository)|
|g a||Go to author|
|g c||Go to changes|
|g i||Go to issues|
|g d||Go to dist|
|g r||Go to repository/SCM|
|g s||Go to source|
|g b||Go to file browse|