Stop lazy-requiring B and Storable in internal functions
authorPeter Rabbitson <ribasushi@cpan.org>
Sun, 12 Oct 2014 10:23:10 +0000 (12:23 +0200)
committerPeter Rabbitson <ribasushi@cpan.org>
Fri, 13 Mar 2015 08:33:39 +0000 (09:33 +0100)
commit14ae8b98c0977dde9757fa771f437a614c106a8c
treedbf5cf55d2fa2e75429331b052e014a7989a0f2e
parent8ab476744ce42bc4a23da61186c8087d4d7fdc13
Stop lazy-requiring B and Storable in internal functions

Almost every non-toy program will end up lazy-loading these anyway, so move
their require to compile time. This also helps with load-patterns changing
in SQLA and Moo, and failing lean_startup.t on some smokers

(cherry pick of d7d45bdc)
lib/DBIx/Class/Schema.pm
lib/DBIx/Class/_Util.pm
t/53lean_startup.t