NAME

Mic::Interface

SYNOPSIS

    package Example::Usage::SetInterface;

    use Mic::Interface
        object => {
            add => {},
            has => {},
        },
        class => { new => {} }
    ;

    1;

DESCRIPTION

Defines a reusable interface using the same (hashref) specification as the interface key that is passed to Mic->define_class(...) (see "USAGE" in Mic).

See "Interface Sharing" in Mic for an example.