Use a single cache struct for entirety of describe_class_methods
authorPeter Rabbitson <ribasushi@cpan.org>
Wed, 29 Jun 2016 22:49:39 +0000 (00:49 +0200)
committerPeter Rabbitson <ribasushi@cpan.org>
Sun, 3 Jul 2016 11:50:59 +0000 (13:50 +0200)
commit953f8eb062bd84ffcb5b59d9a0d27d1db55f3927
tree5800d1888afe1a05bf5e84afc470bfbe27b74aa1
parent2603b49536d45448ac98cd8aa7c7393867cb0db2
Use a single cache struct for entirety of describe_class_methods

This will allow influencing the cache from outside like shown below, (but
please, DO NOT DO SO), and in turn will make sanity checks on 5.8 somewhat
acceptable *by default* \o/

  $...::__describe_class_query_cache->{"!internal!"} = {};
lib/DBIx/Class/_Util.pm
xt/extra/internals/attributes.t