The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Mic::Bind

SYNOPSIS

    use Mic::Bind
        'Foo' => 'Foo::Fake', 
        'Bar' => 'Bar::Fake', 
    ;
    use Foo;
    use Bar;

DESCRIPTION

The implementation of a class can be easily changed from user code e.g. after the above code runs, Foo and bar will be bound to fake implementations (e.g. to aid with testing), instead of the implementations defined in their respective modules.