DESCRIPTION

Alt::Assert can be used to assert that the loaded module is the wanted alternate implementation. Using the Synopsis' example, there can be different Foo::Bar installed, either from the original distribution, or from one of the alternate ones. Each alternate might be slightly incompatible with the original. The existence of Alt::Foo::Bar::MSTROUT in the installation does not necessarily ensure that the installed Foo::Bar is from the same alternate distribution, since an installer can replace Foo::Bar from another distribution. That is why one might need to do this assertion.