Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid double-require bug Module::Pluggable induces.
Because `use Color::Library` invokes before the library finishes .... -which does that `use Module::Pluggable` and loads all its plugins before the library finishes -which involves invoking appropos of Foo.pm require Foo; 1 and that has the side effect that the subs are compiled twice :/ So this hacks around this by invoking `use Moo` first, which sets $INC{C/L/D/XKCD} = 1 And that prevents require attempting to require it a second time.
- Loading branch information