Mic::Class
# A simple Set class: package Example::Synopsis::Set; use Mic::Class interface => { object => { add => {}, has => {}, }, class => { new => {}, } }, implementation => 'Example::Synopsis::ArraySet', ; 1;
Mic::Class allows a class to be defined whose implementation is in a separate file.
It is the compile time equivalent of calling Mic->define_class(...), and takes the same keyword parameters (see "USAGE" in Mic).
Mic->define_class(...)
To install Mic, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mic
CPAN shell
perl -MCPAN -e shell install Mic
For more information on module installation, please visit the detailed CPAN module installation guide.