NAME
Mic::Class
SYNOPSIS
# A simple Set class:
package Example::Synopsis::Set;
use Mic::Class
interface => {
object => {
add => {},
has => {},
},
class => {
new => {},
}
},
implementation => 'Example::Synopsis::ArraySet',
;
1;
DESCRIPTION
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).